This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 3.0 + optimization miscompiles groff-1/17.1
- To: ronis at onsager dot chem dot mcgill dot ca
- Subject: Re: 3.0 + optimization miscompiles groff-1/17.1
- From: George Garvey <tmwg-gcc at inxservices dot com>
- Date: Wed, 27 Jun 2001 09:52:23 -0700
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: inX Services, Los Angeles, CA, USA
- References: <15161.65371.162579.804979@ronispc.chem.mcgill.ca>
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.