Bug 48191 - internal compiler error: in issue_nops_and_insn, at config/ia64/ia64.c:8258
Summary: internal compiler error: in issue_nops_and_insn, at config/ia64/ia64.c:8258
Status: RESOLVED DUPLICATE of bug 43603
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.5.2
: P3 blocker
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-18 16:35 UTC by sebastian.hegler
Modified: 2011-03-21 17:30 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2011-03-18 19:33:15


Attachments
The preprocessed file (*.i*) that triggers the bug, generated by adding -save-temps to the complete compilation command, compressed with gzip. (399.06 KB, application/x-gzip)
2011-03-18 16:35 UTC, sebastian.hegler
Details
shorter test case (915 bytes, text/x-c++src)
2011-03-18 19:31 UTC, Steve Ellcey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sebastian.hegler 2011-03-18 16:35:48 UTC
Created attachment 23710 [details]
The preprocessed file (*.i*) that triggers the bug, generated by adding -save-temps to the complete compilation command, compressed with gzip.

I am trying to compile the CGAL v3.7 ("www.cgal.org") library on IA-64, which fails with: 

In file included from /scratch/build/CGAL-3.7/src/CGAL/all_files.cpp:37:0:
/scratch/build/CGAL-3.7/src/CGAL/MP_Float.cpp: In function ‘std::pair<std::pair<double, double>, int> CGAL::to_interval_exp(const CGAL::MP_Float&)’:
/scratch/build/CGAL-3.7/src/CGAL/MP_Float.cpp:400:1: internal compiler error: in issue_nops_and_insn, at config/ia64/ia64.c:8258



Continuing as per "http://gcc.gnu.org/bugs/#report". Full Terminal output follows here, the output from "-save-temps" comes as an attachment.



/home/radar-08/modules-ia64/gcc/4.5.2/bin/g++ -v -save-temps  -DCGAL_EXPORTS -DNDEBUG -frounding-math -O3 -DNDEBUG -fPIC -I/scratch/build/CGAL-3.7/include -I/home/h0/radar-08/modules-ia64/cgal/3.7/release/include -I/home/radar-08/modules-ia64/cgal/3.7/release/include   -o CMakeFiles/CGAL.dir/all_files.cpp.o -c /scratch/build/CGAL-3.7/src/CGAL/all_files.cpp
Using built-in specs.
COLLECT_GCC=/home/radar-08/modules-ia64/gcc/4.5.2/bin/g++
COLLECT_LTO_WRAPPER=/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.5.2/lto-wrapper
Target: ia64-unknown-linux-gnu
Configured with: ../gcc-4.5.2/configure --prefix=/home/radar-08/modules-ia64/gcc/4.5.2 --with--mpfr=/home/radar-08/modules-ia64/gcc/4.5.2 --with-gmp=/home/radar-08/modules-ia64/gcc/4.5.2 --with-mpc=/home/radar-08/modules-ia64/gcc/4.5.2 --with-libelf=/home/radar-08/modules-ia64/gcc/4.5.2 --enable-lto --enable-gold --enable-bootstrap
Thread model: posix
gcc version 4.5.2 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-DCGAL_EXPORTS' '-DNDEBUG' '-frounding-math' '-O3' '-DNDEBUG' '-fPIC' '-I/scratch/build/CGAL-3.7/include' '-I/home/h0/radar-08/modules-ia64/cgal/3.7/release/include' '-I/home/radar-08/modules-ia64/cgal/3.7/release/include' '-o' 'CMakeFiles/CGAL.dir/all_files.cpp.o' '-c' '-shared-libgcc'
 /home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.5.2/cc1plus -E -quiet -v -I/scratch/build/CGAL-3.7/include -I/home/h0/radar-08/modules-ia64/cgal/3.7/release/include -I/home/radar-08/modules-ia64/cgal/3.7/release/include -iprefix /home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/ -D_GNU_SOURCE -DCGAL_EXPORTS -DNDEBUG -DNDEBUG /scratch/build/CGAL-3.7/src/CGAL/all_files.cpp -frounding-math -fPIC -O3 -fpch-preprocess -o all_files.ii
ignoring nonexistent directory "/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../ia64-unknown-linux-gnu/include"
ignoring duplicate directory "/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2"
ignoring duplicate directory "/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ia64-unknown-linux-gnu"
ignoring duplicate directory "/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward"
ignoring duplicate directory "/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include"
ignoring duplicate directory "/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include-fixed"
ignoring nonexistent directory "/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../ia64-unknown-linux-gnu/include"
ignoring duplicate directory "/home/radar-08/modules-ia64/cgal/3.7/release/include"
#include "..." search starts here:
#include <...> search starts here:
 /scratch/build/CGAL-3.7/include
 /home/h0/radar-08/modules-ia64/cgal/3.7/release/include
 /home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2
 /home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ia64-unknown-linux-gnu
 /home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward
 /home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include
 /home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include-fixed
 /usr/local/include
 /home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../include
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-DCGAL_EXPORTS' '-DNDEBUG' '-frounding-math' '-O3' '-DNDEBUG' '-fPIC' '-I/scratch/build/CGAL-3.7/include' '-I/home/h0/radar-08/modules-ia64/cgal/3.7/release/include' '-I/home/radar-08/modules-ia64/cgal/3.7/release/include' '-o' 'CMakeFiles/CGAL.dir/all_files.cpp.o' '-c' '-shared-libgcc'
 /home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.5.2/cc1plus -fpreprocessed all_files.ii -quiet -dumpbase all_files.cpp -auxbase-strip CMakeFiles/CGAL.dir/all_files.cpp.o -O3 -version -frounding-math -fPIC -o all_files.s
GNU C++ (GCC) version 4.5.2 (ia64-unknown-linux-gnu)
	compiled by GNU C version 4.5.2, GMP version 4.3.2, MPFR version 3.0.0, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (GCC) version 4.5.2 (ia64-unknown-linux-gnu)
	compiled by GNU C version 4.5.2, GMP version 4.3.2, MPFR version 3.0.0, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: bc569a0bfc4176672ca2778f0e5982ab
In file included from /scratch/build/CGAL-3.7/src/CGAL/all_files.cpp:37:0:
/scratch/build/CGAL-3.7/src/CGAL/MP_Float.cpp: In function ‘std::pair<std::pair<double, double>, int> CGAL::to_interval_exp(const CGAL::MP_Float&)’:
/scratch/build/CGAL-3.7/src/CGAL/MP_Float.cpp:400:1: internal compiler error: in issue_nops_and_insn, at config/ia64/ia64.c:8258
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Comment 1 Steve Ellcey 2011-03-18 19:31:20 UTC
Created attachment 23714 [details]
shorter test case

Shorter test case.  Reproducible on IA64 HP-UX as well with -mlp64 (and -O3 -fPIC).
Comment 2 Steve Ellcey 2011-03-18 19:33:15 UTC
I can reproduce this using GCC 4.5.2 on HP-UX but I cannot reproduce it with Top of tree or the 4.6 branch.
Comment 3 Steve Ellcey 2011-03-18 23:40:43 UTC
It looks like this is the same problem as PR 43603 (but with a different error result).  I can reproduce it on the trunk at r167587, but it is fixed at r167588.

To fix it in the 4.5 branch we just need to backport the fix to PR 43603 to the 4.5 branch.
Comment 4 sebastian.hegler 2011-03-21 13:54:55 UTC
(In reply to comment #3)
> It looks like this is the same problem as PR 43603 (but with a different error
> result).  I can reproduce it on the trunk at r167587, but it is fixed at
> r167588.
Confirming fixed in r167588. Should we mark this one as a duplicate of PR 43603?
Comment 5 Steve Ellcey 2011-03-21 17:30:34 UTC
This is a duplicate of 43603 which is fixed on ToT for 4.6 and later and should be back ported on to the 4.5 branch.

*** This bug has been marked as a duplicate of bug 43603 ***