[Bug 444153] New: gcc segmentation fault using pch compiled with -O2
https://bugzilla.novell.com/show_bug.cgi?id=444153 User Viatcheslav.Sysoltsev@h-d-gmbh.de added comment https://bugzilla.novell.com/show_bug.cgi?id=444153#c1 Summary: gcc segmentation fault using pch compiled with -O2 Product: openSUSE 11.0 Version: Final Platform: i586 OS/Version: openSUSE 11.0 Status: NEW Severity: Minor Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: Viatcheslav.Sysoltsev@h-d-gmbh.de QAContact: qa@suse.de Found By: Customer I have reduced the precompiled header to rather trivial one: pch.h: typedef unsigned int aaaa; Compile it with g++ -g -O2 -c -x c++-header pch.h The source file which uses this header is trivial one too: labeling.h: #pragma once #include "pch.h" labeling.cpp: #include "labeling.h" When compiling it with g++ -g -O2 labeling.cpp I get In file included from pch.h:1: cc1plus: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See http://bugs.opensuse.org/ for instructions. I attach the sources once again in archive gcc_pch_segfault.tgz Environment:
gcc -v Using built-in specs. Target: i586-suse-linux Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.3 --enable-version-specific-runtime-libs --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux Thread model: posix gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux)
uname -a Linux muc-lap-002 2.6.25.16-0.1-default #1 SMP 2008-08-21 00:34:25 +0200 i686 i686 i386 GNU/Linux
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=444153
User Viatcheslav.Sysoltsev@h-d-gmbh.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=444153#c1
--- Comment #1 from Viatcheslav Sysoltsev
https://bugzilla.novell.com/show_bug.cgi?id=444153
Cristian Rodríguez
https://bugzilla.novell.com/show_bug.cgi?id=444153
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=444153#c2
--- Comment #2 from Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=444153
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=444153#c3
--- Comment #3 from Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=444153
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=444153#c4
Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=444153
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=444153#c5
--- Comment #5 from Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=444153
User Viatcheslav.Sysoltsev@h-d-gmbh.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=444153#c6
Viatcheslav Sysoltsev
https://bugzilla.novell.com/show_bug.cgi?id=444153
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=444153#c7
--- Comment #7 from Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=444153
Michael Matz
participants (1)
-
bugzilla_noreply@novell.com