This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Xtensa] fix bug in non-local goto function
- From: Bob Wilson <bwilson at tensilica dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Junjie Gu <jgu at tensilica dot com>
- Date: Wed, 04 Jun 2008 17:30:49 -0700
- Subject: [Xtensa] fix bug in non-local goto function
I've committed this patch from Junjie Gu. The helper function for non-local
gotos was using a signed comparison for frame pointers. If the stack ever
crossed the sign-bit boundary, this would fail. I ran the C and C++ testsuites
for an xtensa-elf target to confirm that it causes no regressions.
2008-06-04 Junjie Gu <jgu@tensilica.com>
* config/xtensa/lib2funcs.S (__xtensa_nonlocal_goto): Use unsigned
comparison for frame pointers.