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]

Another bug using RH7.0 version of g++...


Here another g++ bug. Note this bug only appears with -O2. It compiles and works
fine with -O.

(pcroot2) [152] g++ -v --save-temps -O2 -pipe -Wall -fPIC -Iinclude 
-D_REENTRANT -o histpainter/src/THistPainter.o -c
histpainter/src/THistPainter.cxx
g++: Warning: -pipe ignored since -save-temps specified
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.0)
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/cpp0 -lang-c++ -D__GNUG__=2 -v
-Iinclude -D__GNUC__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__ELF__
-Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux
-Asystem(posix) -D__OPTIMIZE__ -Wall -Acpu(i386) -Amachine(i386) -Di386 -D__i386
-D__i386__ -D__tune_i386__ -D__PIC__ -D__pic__ -D_REENTRANT
histpainter/src/THistPainter.cxx THistPainter.ii
GNU CPP version 2.96 20000731 (Red Hat Linux 7.0) (cpplib)
 (i386 Linux/ELF)
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/i386-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 include
 /usr/include/g++-3
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/cc1plus THistPainter.ii -quiet
-dumpbase THistPainter.cxx -O2 -Wall -version -fPIC -o THistPainter.s
GNU C++ version 2.96 20000731 (Red Hat Linux 7.0) (i386-redhat-linux) compiled
by GNU C version 2.96 20000731 (Red Hat Linux 7.0).
histpainter/src/THistPainter.cxx: In method `void 
THistPainter::PaintBoxes ()':
histpainter/src/THistPainter.cxx:1407: Internal error: Segmentation 
fault.
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.


In the attachement the .ii file.

Did anybody test this compiler before making it the default of RH7.0?!?


Cheers, Fons.

THistPainter.ii.gz


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