Fix gcc.target/i386/sse-10.c for Solaris

Joseph S. Myers joseph@codesourcery.com
Tue Jan 13 16:45:00 GMT 2009


On Tue, 13 Jan 2009, Uros Bizjak wrote:

> 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 ?

I don't know if need both in general but I'm not sure of the details of 
how these options interact for all targets.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list