This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bug using RH7.0 version of g++....
- To: bug-gcc at gnu dot org
- Subject: Bug using RH7.0 version of g++....
- From: Fons Rademakers <Fons dot Rademakers at cern dot ch>
- Date: Mon, 02 Oct 2000 13:05:37 +0000
- Organization: CERN
This bug seems to be in the simple inline:
GContext_t operator()() const { return fContext; }
GContext_t being a typedef to an unsigned long.
Placing it out of line removes the error.
(pcroot2) [177] g++ -v --save-temps -O -pipe -Wall -fPIC -Iinclude -D_REENTRANT
-o gui/src/TGFSComboBox.o -c gui/src/TGFSComboBox.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
gui/src/TGFSComboBox.cxx TGFSComboBox.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 TGFSComboBox.ii -quiet
-dumpbase TGFSComboBox.cxx -O -Wall -version -fPIC -o TGFSComboBox.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).
include/TGGC.h: In method `void TGFSComboBox::Update (const char *)':
include/TGGC.h:53: Internal compiler error in fix_lexical_addr, at
function.c:5320
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Find .ii in attachement. Bug does not happen without -O option.
Cheers, Fons.
--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248
WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
TGFSComboBox.ii.gz