This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix gcc.target/i386/sse-10.c for Solaris
- From: "Uros Bizjak" <ubizjak at gmail dot com>
- To: "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Cc: "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Tue, 13 Jan 2009 16:31:59 +0100
- Subject: Re: Fix gcc.target/i386/sse-10.c for Solaris
Hello!
> 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 <mark@codesourcery.com>
> * gcc.target/i386/sse-10.c: Pass -mno-omit-leaf-frame-pointer.
OK.
Thanks,
Uros.