This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]