This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13266] New: ICE in tree-dfa.c for C++ source code
- From: "schnetter at aei dot mpg dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2003 23:26:57 -0000
- Subject: [Bug optimization/13266] New: ICE in tree-dfa.c for C++ source code
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I use the tree-ssa gcc version from December 1st:
$ ~/gcc-3.5-tree-ssa/bin/g++ --version
g++ (GCC) 3.5-tree-ssa 20031201 (merged 20031130)
I compile with optimisation with the options
/home/eschnett/gcc-3.5-tree-ssa/bin/g++ -DCARPET_INT -DCARPET_REAL
-DCARPET_COMPLEX -march=pentium3 -malign-double -m128bit-long-double -g -O3
-funroll-loops -Wall -Wpointer-arith -Wcast-qual -Wcast-align -c -o /home/
eschnett/Calpha/Cactus/configs/einstein-gfortran/build/CarpetInterp/
interp.cc.o /home/eschnett/Calpha/Cactus/configs/einstein-gfortran/build/
CarpetInterp/interp.cc -I/usr/include -I/usr/lib/mpich/include -I/usr/lib/
petscdir/2.1.6/include -I/usr/lib/petscdir/2.1.6/bmake/linux -I/home/eschnett/
Calpha/Cactus/arrangements/Carpet/CarpetInterp/src -I/home/eschnett/Calpha/
Cactus/arrangements/Carpet/CarpetInterp/src/include -I/home/eschnett/Calpha/
Cactus/configs/einstein-gfortran/config-data -I/home/eschnett/Calpha/Cactus/
configs/einstein-gfortran/bindings/include -I/home/eschnett/Calpha/Cactus/src/
include -I/home/eschnett/Calpha/Cactus/arrangements -I/home/eschnett/Calpha/
Cactus/arrangements/Carpet/CarpetInterp/src -I/home/eschnett/Calpha/Cactus/
arrangements/Carpet/CarpetInterp/src/include -DTHORN_IS_CarpetInterp -DCCODE
and receive the error message
/home/eschnett/Calpha/Cactus/configs/einstein-gfortran/build/CarpetInterp/
interp.cc: In function `int CarpetInterp::InterpGridArrays(const cGH*, int,
int, int, int, int, int, const void* const*, int, const int*, int, const int*,
void* const*)':
/home/eschnett/Calpha/Cactus/configs/einstein-gfortran/build/CarpetInterp/
interp.cc:307: warning: cast from `const cGH* const' to `cGH*' discards
qualifiers from pointer target type
/home/eschnett/Calpha/Cactus/configs/einstein-gfortran/build/CarpetInterp/
interp.cc:310: warning: cast from `const cGH* const' to `cGH*' discards
qualifiers from pointer target type
/home/eschnett/Calpha/Cactus/configs/einstein-gfortran/build/CarpetInterp/
interp.cc:313: warning: cast from `const cGH* const' to `cGH*' discards
qualifiers from pointer target type
/home/eschnett/Calpha/Cactus/configs/einstein-gfortran/build/CarpetInterp/
interp.cc:477: warning: cast from `const cGH* const' to `cGH*' discards
qualifiers from pointer target type
/home/eschnett/Calpha/Cactus/configs/einstein-gfortran/build/CarpetInterp/
interp.cc:480: warning: cast from `const cGH* const' to `cGH*' discards
qualifiers from pointer target type
/home/eschnett/Calpha/Cactus/configs/einstein-gfortran/build/CarpetInterp/
interp.cc:483: warning: cast from `const cGH* const' to `cGH*' discards
qualifiers from pointer target type
/home/eschnett/Calpha/Cactus/configs/einstein-gfortran/build/CarpetInterp/
interp.cc:97: internal compiler error: in add_may_alias, at tree-dfa.c:2233
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I attach the preprocessed source code.
--
Summary: ICE in tree-dfa.c for C++ source code
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schnetter at aei dot mpg dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13266