Is this obvious to someone, or should I try to track it down?
[EMAIL PROTECTED] pts/6 ~/m32c/gcc/m32c-elf/m32c-elf/m32cm/libiberty
$ make
if [ x"" != x ]; then \
/greed/dj/m32c/gcc/m32c-elf/./gcc/xgcc -B/greed/dj/m32c/
gcc/m32c-elf/./gcc/ -B/greed/dj/m32c/install/m32c-elf/bin/ -B/greed/
dj/m32c/install/m32c-elf/lib/ -isystem /greed/dj/m32c/install/m32c-
elf/include -isystem /greed/dj/m32c/install/m32c-elf/sys-include -
mcpu=m32cm -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../../gcc/
libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -
Wstrict-prototypes -pedantic ../../../../gcc/libiberty/cplus-
dem.c -o pic/cplus-dem.o; \
else true; fi
/greed/dj/m32c/gcc/m32c-elf/./gcc/xgcc -B/greed/dj/m32c/gcc/m32c-
elf/./gcc/ -B/greed/dj/m32c/install/m32c-elf/bin/ -B/greed/dj/m32c/
install/m32c-elf/lib/ -isystem /greed/dj/m32c/install/m32c-elf/
include -isystem /greed/dj/m32c/install/m32c-elf/sys-include -
mcpu=m32cm -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../../gcc/
libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -
Wstrict-prototypes -pedantic ../../../../gcc/libiberty/cplus-dem.c
-o cplus-dem.o
../../../../gcc/libiberty/cplus-dem.c: In function
'cplus_demangle_name_to_style':
../../../../gcc/libiberty/cplus-dem.c:807: internal compiler error:
in build2_stat, at tree.c:3107
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [cplus-dem.o] Error 1
[ gdb ] r
GNU C (GCC) version 4.4.0 20080401 (experimental) [trunk revision
133793] (m32c-elf)
compiled by GNU C version 4.3.0 20071207 (experimental)
[trunk revision 130693], GMP version 4.2.2, MPFR version 2.3.0-p2.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-
heapsize=4096
Compiler executable checksum: f08c4b7ee0f32eb95e63bee9a8675368
Breakpoint 1, fancy_abort (file=0x87f32c2 "../../gcc/gcc/tree.c",
line=3107, function=0x87f2e43 "build2_stat")
at ../../gcc/gcc/diagnostic.c:654
654 internal_error ("in %s, at %s:%d", function,
trim_filename (file), line);
[ gdb ] up
#1 0x085b5c3e in build2_stat (code=PLUS_EXPR, tt=0xb7ddfdd0,
arg0=0xb7b43340, arg1=0xb7aa75e4)
at ../../gcc/gcc/tree.c:3107
3107 gcc_assert (TREE_CODE (arg0) == INTEGER_CST ||
TREE_CODE (arg1) == INTEGER_CST);
[ gdb ] call debug_tree(arg0)
<nop_expr 0xb7b43340
type <pointer_type 0xb7ddfdd0
type <record_type 0xb7fc2a28 demangler_engine readonly
tree_1 type_0 BLK
size <integer_cst 0xb7f5a364 constant invariant 80>
unit size <integer_cst 0xb7f5a310 constant invariant 10>
align 8 symtab -1213417700 alias set -1 canonical type
0xb7fc2a28 fields <field_decl 0xb7f6bcf0 demangling_style_name>
context <translation_unit_decl 0xb7d09958 D.5403>
pointer_to_this <pointer_type 0xb7ddfdd0>>
sizes-gimplified asm_written public unsigned PSI
size <integer_cst 0xb7ee04b4 constant invariant 32>
unit size <integer_cst 0xb7ee0230 constant invariant 4>
align 8 symtab -1213417752 alias set -1 canonical type
0xb7ddfdd0>
arg 0 <ssa_name 0xb7aa7478
type <integer_type 0xb7eed000 unsigned int public unsigned
sizetype HI
size <integer_cst 0xb7ee039c constant invariant 16>
unit size <integer_cst 0xb7ee03b8 constant invariant 2>
align 8 symtab -1208660736 alias set -1 canonical type
0xb7ef4000 precision 16 min <integer_cst 0xb7ee0444 0> max
<integer_cst 0xb7ee09f4 -1>>
var <var_decl 0xb78c5e70 D.10301> def_stmt
<gimple_modify_stmt 0xb7f08d20>
version 1>>
[ gdb ] call debug_tree(arg1)
<ssa_name 0xb7aa75e4
type <pointer_type 0xb7ddfdd0
type <record_type 0xb7fc2a28 demangler_engine readonly
tree_1 type_0 BLK
size <integer_cst 0xb7f5a364 constant invariant 80>
unit size <integer_cst 0xb7f5a310 constant invariant 10>
align 8 symtab -1213417700 alias set -1 canonical type
0xb7fc2a28 fields <field_decl 0xb7f6bcf0 demangling_style_name>
context <translation_unit_decl 0xb7d09958 D.5403>
pointer_to_this <pointer_type 0xb7ddfdd0>>
sizes-gimplified asm_written public unsigned PSI
size <integer_cst 0xb7ee04b4 constant invariant 32>
unit size <integer_cst 0xb7ee0230 constant invariant 4>
align 8 symtab -1213417752 alias set -1 canonical type
0xb7ddfdd0>
var <var_decl 0xb78c5cb8 ivtmp.3334> def_stmt <phi_node
0xb7fba5b0>
version 8>