Fix gcc.target/i386/sse-10.c for Solaris
Tue Jan 13 15:53:00 GMT 2009
> This patch fixes
> FAIL: gcc.target/i386/sse-10.c (test for excess errors)
> for i686-solaris2.10 -m64, the excess error being:
> sse-10.c:1: warning: unwind tables currently require either a frame pointer or -maccumulate-outgoing-args for correctness
> The problem is that Solaris 10 defaults to -momit-leaf-frame-pointer
> when optimizing, even with -fno-omit-frame-pointer, and the fix is to
> pass -mno-omit-leaf-frame-pointer.
Do we perhaps need only -mno-omit-frame-pointer, without
-fno-omit-frame-pointer in dg-options ?
> Tested with cross to i686-solaris2.10. OK to commit?
> 2009-01-13 Mark Mitchell <email@example.com>
> * gcc.target/i386/sse-10.c: Pass -mno-omit-leaf-frame-pointer.
More information about the Gcc-patches