3.0 + optimization miscompiles groff-1/17.1

George Garvey tmwg-gcc@inxservices.com
Wed Jun 27 09:52:00 GMT 2001


   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.  



More information about the Gcc-bugs mailing list