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]

G++ compiler Bug


Please find the attached files which document a bug I encountered using
the g++ ver 3.2 compiler.  The file error.txt contains the output from
the command:
  g++ -v -save-temps -fPIC -I/u01/hsm/local/include/c++/3.2 -c -g -I.
-I/opt/local/share/include -I/opt/local/share/include
-L/opt/local/share/lib -I/u01/hsm/apps/petsc/petsc-2.1.3
-I/u01/hsm/apps/petsc/petsc-2.1.3/bmake/linux
-I/u01/hsm/apps/petsc/petsc-2.1.3/include
-I/u01/hsm/apps/petsc/petsc-2.1.3/src/sys/src/mpiuni -DPETSC_HAVE_X11
-DPETSC_USE_DEBUG -DPETSC_USE_LOG -DPETSC_USE_BOPT_g -DPETSC_USE_STACK
-D__SDIR__="" Cell.cc > & error.txt

and the file Cell.ii.gz is the *.ii* file the compiler generated.

As this is the first bug report I have submitted, please let me know if
there is anything I have neglected to include.

Dave
Reading specs from /u01/hsm/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: /u01/hsm/apps/gcc_3.2_source/gcc-3.2/configure --prefix=/u01/hsm/local
Thread model: posix
gcc version 3.2
 /u01/hsm/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/cpp0 -lang-c++ -D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -v -I/u01/hsm/local/include/c++/3.2 -I. -I/opt/local/share/include -I/opt/local/share/include -I/u01/hsm/apps/petsc/petsc-2.1.3 -I/u01/hsm/apps/petsc/petsc-2.1.3/bmake/linux -I/u01/hsm/apps/petsc/petsc-2.1.3/include -I/u01/hsm/apps/petsc/petsc-2.1.3/src/sys/src/mpiuni -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=0 -D__GXX_ABI_VERSION=102 -D__ELF__ -Dunix -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_GNU_SOURCE -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i686__ -D__tune_pentiumpro__ -D__PIC__ -D__pic__ -DPETSC_HAVE_X11 -DPETSC_USE_DEBUG -DPETSC_USE_LOG -DPETSC_USE_BOPT_g -DPETSC_USE_STACK -D__SDIR__= Cell.cc Cell.ii
GNU CPP version 3.2 (cpplib) (i386 Linux/ELF)
ignoring nonexistent directory "/u01/hsm/local/i686-pc-linux-gnu/include"
ignoring duplicate directory "/opt/local/share/include"
cpp0: warning: changing search order for system directory "/u01/hsm/local/include/c++/3.2"
cpp0: warning:   as it has already been specified as a non-system directory
ignoring duplicate directory "/u01/hsm/local/include/c++/3.2"
#include "..." search starts here:
#include <...> search starts here:
 /u01/hsm/local/include/c++/3.2
 .
 /opt/local/share/include
 /u01/hsm/apps/petsc/petsc-2.1.3
 /u01/hsm/apps/petsc/petsc-2.1.3/bmake/linux
 /u01/hsm/apps/petsc/petsc-2.1.3/include
 /u01/hsm/apps/petsc/petsc-2.1.3/src/sys/src/mpiuni
 /u01/hsm/local/include/c++/3.2/i686-pc-linux-gnu
 /u01/hsm/local/include/c++/3.2/backward
 /usr/local/include
 /u01/hsm/local/include
 /u01/hsm/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/include
 /usr/include
End of search list.
 /u01/hsm/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/cc1plus -fpreprocessed Cell.ii -quiet -dumpbase Cell.cc -g -version -fPIC -o Cell.s
GNU CPP version 3.2 (cpplib) (i386 Linux/ELF)
GNU C++ version 3.2 (i686-pc-linux-gnu)
	compiled by GNU C version 3.2.
Cell.cc: In member function `Point2D Cell::OLVector() const':
Cell.cc:100: Internal compiler error in resolve_offset_ref, at cp/init.c:1886
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Attachment: Cell.ii.gz
Description: GNU Zip compressed data

begin:vcard 
n:Welter;Dave
tel;work:(561) 682-6707
x-mozilla-html:FALSE
org:South Florida Water Management District;Hydrologic Systems Modeling
adr:;;;;;;
version:2.1
email;internet:dwelter@sfwmd.gov
title:Lead Hydrologic Modeler
fn:Dave Welter
end:vcard

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