This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/7571] BitchX fails with a segmentation fault when compiled with -O3
- From: "matt at projecthugo dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 May 2004 14:51:16 -0000
- Subject: [Bug optimization/7571] BitchX fails with a segmentation fault when compiled with -O3
- References: <20020811094601.7571.tclark@telia.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From matt at projecthugo dot co dot uk 2004-05-07 14:51 -------
Hi,
I am having the same problem with BitchX when I am using gcc 3.3.3 with
optimisations -Os (or 03) -march=pentium3
I simpley get a sementation fault.
Removeing ANY optimisation allows BitchX to work
this was built against a stock 2.4.26 kernel with glibc 2.3.2
Compiler bootstrapped and built with these options
../gcc-3.3.3/configure --prefix=/usr --enable-shared --enable-threads=posix --
enable-__cxa_atexit --enable-clocale=gnu --enable-
languages=c,c++,java,ada,gay : (reconfigured) ../gcc-3.3.3/configure --
prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --
enable-clocale=gnu --enable-languages=c,c++,java,ada,f77,objc
the compiler was not built using any optimisation.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7571