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]
Other format: [Raw text]

[Bug optimization/7571] BitchX fails with a segmentation fault when compiled with -O3


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


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