g++ ICE: in elimination_costs_in_insn, at reload1.c:3633
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
Won't Fix
|
Undecided
|
Unassigned | ||
gcc |
Confirmed
|
Medium
|
Bug Description
Use the attached preprocessed compile.i source code to trigger the bug.
g++ compile.i
In file included from src/machine.h:14:0,
src/common.h:279:1: note: the mangling of ‘va_list’ has changed in GCC 4.4
src/compile.cpp: In function ‘void {anonymous}
src/compile.
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
Preprocessed source stored into /tmp/ccPPh5os.out file, please attach this to your bugreport.
#The preprocessed compile.i got generated during a debug build of avian
#Full avian debug build instructions below:
apt-get openjdk-7-jdk libz-dev git
git clone https:/
cd avian
JAVA_HOME=
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
The attached test causes gcc to ICE when compiled with -O0.
$ arm-eabi-gcc -c foo.c costs_in_ insn, at reload1.c:3643 gcc.gnu. org/bugs. html> for instructions.
foo.c: In function 'f0a':
foo.c:16:1: warning: left shift count >= width of type [enabled by default]
foo.c:16:1: warning: left shift count >= width of type [enabled by default]
foo.c:16:1: warning: right shift count >= width of type [enabled by default]
foo.c:16:1: warning: right shift count >= width of type [enabled by default]
foo.c:16:1: warning: right shift count >= width of type [enabled by default]
foo.c:16:1: warning: left shift count >= width of type [enabled by default]
foo.c:16:1: warning: left shift count >= width of type [enabled by default]
foo.c:16:1: warning: right shift count >= width of type [enabled by default]
foo.c:16:1: warning: right shift count >= width of type [enabled by default]
foo.c:16:1: warning: right shift count >= width of type [enabled by default]
foo.c:18:1: internal compiler error: in elimination_
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://