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]

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.


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