assembler error and segfault when compiling a wine 1.0 souce program with -O2
cd /ahbakup/sysbuild/wine-1.0/dlls/user32/tests;gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith -g -O2 -o menu.o menu.c {standard input}: Assembler messages: {standard input}:7412: Warning: end of file not at end of a line; newline inserted {standard input}:7745: Error: unknown pseudo-op: `.l' gcc: Internal error: Segmentation fault (program cc1) no error and good object code when the -O2 is removed. version information gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-cpu=generic --build=i386-redhat-linux Thread model: posix gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) I will try to attach the core ... -- Summary: assembler error and segfault when compiling a wine 1.0 souce program with -O2 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: johnlumby at hotmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36752