Bug 26032 - [gomp-branch] ICE in copy_body_r
Summary: [gomp-branch] ICE in copy_body_r
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code, openmp
Depends on:
Blocks:
 
Reported: 2006-01-30 13:16 UTC by Martin Reinecke
Modified: 2006-02-02 14:53 UTC (History)
4 users (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
unreduced testcase (107.64 KB, application/octet-stream)
2006-01-30 13:17 UTC, Martin Reinecke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Reinecke 2006-01-30 13:16:14 UTC
This is a follow-up to PR/25874, with the identical test case.
The compilation now causes another ICE:

/scratch>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 20060126 (experimental) (merged 20060126)
 /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/cchqvFNL.s
GNU C++ version 4.2.0-gomp-20050608-branch 20060126 (experimental) (merged 20060126) (i686-pc-linux-gnu)
        compiled by GNU C version 4.2.0-gomp-20050608-branch 20060126 (experimental) (merged 20060126).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: ddc6509291ab6cf0d07599318fa2caeb
Healpix_cxx/alm_powspec_tools.cc: In function 'void rotate_alm(Alm<xcomplex<T> >&, Alm<xcomplex<T> >&, Alm<xcomplex<T> >&, double, double, double) [with T = double]':
Healpix_cxx/alm_powspec_tools.cc:476: internal compiler error: in copy_body_r, at tree-inline.c:630
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


Unfortunately, I probably won't be able to reduce the test case until the weekend at least.
Comment 1 Martin Reinecke 2006-01-30 13:17:46 UTC
Created attachment 10762 [details]
unreduced testcase
Comment 2 Volker Reichelt 2006-02-01 12:34:23 UTC
This looks like a duplicate of PR 25990 to me since I can trigger
the bug also at -O0 with appropriate "--param ggc-min-expand" settings.
If I change the parameter the ICE happens at different places.
Comment 3 Diego Novillo 2006-02-02 14:53:14 UTC
Should be fixed with the patch for PR 25990.