This is the mail archive of the gcc-bugs@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]

Re: 3.0 + optimization miscompiles groff-1/17.1


   I've removed -fomit-frame-pointer on x86. It causes all sorts of
problems with now.

On Wed, Jun 27, 2001 at 11:44:27AM -0400, David Ronis wrote:
> groff-1.17.1 on an i686-linux(2.4.5)-gnu(2.1.3) box when compiled with
> 
> /usr/bin/gcc -v
> Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.1/specs
> Configured with: ../gcc/configure --host=i686-pc-linux-gnu --prefix=/usr --with-gnu-as --enable-shared --with-gnu-ld --enable-threads=posix
> Thread model: posix
> gcc version 3.0.1 20010619 (prerelease)
> 
> and optimized CXXFLAGS:
> 
> -O3 -march=i686 -ffast-math -funroll-loops -fomit-frame-pointer
>  -fforce-mem -fforce-addr -malign-jumps=3 -malign-loops=3
>  -malign-functions=3 -mpreferred-stack-boundary=3 -fpermissive
> 
> results in a program that SIGSEGV's.  


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