Current g++ from the gomp branch ICEs on the attached test case, but only
when -O and -fopenmp is specified:
~/data/planck/LevelS>g++ -v -O -fopenmp -c bug.ii
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /scratch/gompcc/configure --quiet --prefix=/scratch/ugccgomp
--enable-languages=c++,fortran --with-gmp=/usr/local/appl/gmp-4.1.4
--enable-checking=release
Thread model: posix
gcc version 4.2.0-gomp-20050608-branch 20060119 (experimental) (merged
20060119)
/scratch/ugccgomp/libexec/gcc/i686-pc-linux-gnu/4.2.0-gomp-20050608-branch/cc1plus
-fpreprocessed bug.ii -quiet -dumpbase bug.ii -mtune=generic -auxbase bug -O
-version -fopenmp -o /tmp/ccpzsCty.s
GNU C++ version 4.2.0-gomp-20050608-branch 20060119 (experimental) (merged
20060119) (i686-pc-linux-gnu)
compiled by GNU C version 4.2.0-gomp-20050608-branch 20060119
(experimental) (merged 20060119).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: e3aef40c574c8b69824cf08633defc10
Healpix_cxx/alm_powspec_tools.cc: In function 'void rotate_alm(Alm<xcomplex<T>
>&, double, double, double) [with T = double]':
Healpix_cxx/alm_powspec_tools.cc:396: internal compiler error: in
calc_dfs_tree, at dominance.c:373
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
This problem did not exist a few days ago.
Sorry for the long test case; I hope I can reduce it over the weekend.
--
Summary: [gomp branch] ICE in calc_dfs_tree()
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: martin at mpa-garching dot mpg dot de
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=25874