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]

[Bug c++/14553] New: ICE on valid code


I compile the attached code with a recent version of g++, and I receive a 
segmentation fault. 
 
$ /home/eschnett/gcc-3.5-tree-ssa/bin/g++ -v 
Reading specs 
from /home/eschnett/gcc-3.5-tree-ssa/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/specs 
Configured with: ../gcc/configure --prefix=/home/eschnett/gcc-3.5-tree-ssa 
--enable-languages=c,c++,f95 
Thread model: posix 
gcc version 3.5-tree-ssa 20040312 (merged 20040307) 
 
/home/eschnett/gcc-3.5-tree-ssa/bin/g++ -DCARPET_INT -DCARPET_REAL 
-DCARPET_COMPLEX -march=pentium3 -malign-double -m128bit-long-double -g3 -O3 
-funroll-loops -Wall -Wpointer-arith -Wcast-qual -Wcast-align -S data.ii 
-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/CarpetLib/src 
-I/home/eschnett/Calpha/Cactus/arrangements/Carpet/CarpetLib/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/CarpetLib/src 
-I/home/eschnett/Calpha/Cactus/arrangements/Carpet/CarpetLib/src/include 
-DTHORN_IS_CarpetLib -DCCODE 
 
/home/eschnett/Calpha/Cactus/configs/einstein-gfortran/build/CarpetLib/data.cc: 
In member function `void data<T, 
D>::interpolate_from_innerloop(__gnu_norm::vector<const gdata<D>*, 
std::allocator<const gdata<D>*> >, __gnu_norm::vector<double, 
std::allocator<double> >, const bbox<int, D>&, double, int, int) [with T = 
double, int D = 3]': 
/home/eschnett/Calpha/Cactus/configs/einstein-gfortran/build/CarpetLib/data.cc:789: 
internal compiler error: Segmentation fault 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: ICE on valid code
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        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=14553


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