[RFC] Fix unwind info for sparc -mflat

Eric Botcazou ebotcazou@adacore.com
Mon Jun 27 11:58:00 GMT 2011


> I have 4 regressions in the C testsuite with -mflat on SPARC/Solaris:

And 2 regressions in 64-bit mode:

FAIL: gcc.c-torture/execute/nestfunc-6.c execution,  -O1
[...]

FAIL: gcc.dg/torture/stackalign/nested-6.c  -O1  execution test
[...]


Another latent problem exposed by the change.  Tested on SPARC/Solaris, applied 
on the mainline.


2011-06-27  Eric Botcazou  <ebotcazou@adacore.com>

        * config/sparc/sparc.c (sparc_frame_pointer_required): Return true if
	the function receives nonlocal gotos.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-diff
Size: 545 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110627/04dde5e0/attachment.bin>


More information about the Gcc-patches mailing list