This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21638] New: [4.1 regression] cris-elf broken, dce is_gimple_reg_type (type=0x0) building newlib
- From: "hp at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2005 23:35:13 -0000
- Subject: [Bug tree-optimization/21638] New: [4.1 regression] cris-elf broken, dce is_gimple_reg_type (type=0x0) building newlib
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
With LAST_UPDATED: "Tue May 17 13:57:35 UTC 2005" in a unified tree, it
built (with one new test failing compared to "Tue May 17 06:38:21 UTC 2005").
With "Tue May 17 19:08:13 UTC 2005", I get:
...
/home/hp/combined/cris-sim/./gcc/xgcc -B/home/hp/combined/cris-sim/./gcc/
-nostdinc -B/home/hp/combined/cris-sim/cris-elf/v10/new\
lib/ -isystem /home/hp/combined/cris-sim/cris-elf/v10/newlib/targ-include
-isystem /home/hp/combined/combined/newlib/libc/include\
-B/usr/local/cris-elf/bin/ -B/usr/local/cris-elf/lib/ -isystem
/usr/local/cris-elf/include -isystem /usr/local/cris-elf/sys-incl\
ude -L/home/hp/combined/cris-sim/./ld -march=v10 -mbest-lib-options
-DPACKAGE=\"newlib\" -DVERSION=\"1.13.0\" -I. -I/home/hp/co\
mbined/combined/newlib/libc/search -O2 -DHAVE_RENAME -DHAVE_GETTIMEOFDAY
-D_USE_WRITE -DCOMPACT_CTYPE -fno-builtin -O2 -g -\
O2 -march=v10 -mbest-lib-options -c
/home/hp/combined/combined/newlib/libc/search/hash.c
/home/hp/combined/combined/newlib/libc/search/hash.c: In function 'flush_meta':
/home/hp/combined/combined/newlib/libc/search/hash.c:515: internal compiler
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[9]: *** [hash.o] Error 1
make[9]: Leaving directory
`/home/hp/combined/cris-sim/cris-elf/v10/newlib/libc/search'
In gdb:
Program received signal SIGSEGV, Segmentation fault.
0x080bb70a in is_gimple_reg_type (type=0x0) at
/home/hp/combined/combined/gcc/tree-gimple.c:263
(gdb) bt
#0 0x080bb70a in is_gimple_reg_type (type=0x0) at
/home/hp/combined/combined/gcc/tree-gimple.c:263
#1 0x080bb897 in is_gimple_val (t=0xb7ec0200) at
/home/hp/combined/combined/gcc/tree-gimple.c:353
#2 0x080a9c11 in verify_expr (tp=0xb7ecad7c, walk_subtrees=0xbffff784,
data=0x0)
at /home/hp/combined/combined/gcc/tree-cfg.c:3403
#3 0x082a5d93 in walk_tree (tp=0xb7ecad7c, func=0x80a9730 <verify_expr>,
data=0x0, pset=0x0)
at /home/hp/combined/combined/gcc/tree.c:6473
#4 0x080aa17f in verify_stmt (stmt=0xb7ea21b0, last_in_block=0 '\0') at
/home/hp/combined/combined/gcc/tree-cfg.c:3489
#5 0x080aa5fa in verify_stmts () at tree-flow-inline.h:710
#6 0x080b8586 in verify_ssa (check_modified_stmt=1 '\001') at
/home/hp/combined/combined/gcc/tree-ssa.c:649
#7 0x080ba9c2 in execute_todo (pass=0x83f8350, flags=295, use_required=0 '\0')
at /home/hp/combined/combined/gcc/tree-optimize.c:558
#8 0x080babba in execute_one_pass (pass=0x83f8350) at
/home/hp/combined/combined/gcc/tree-optimize.c:634
#9 0x080bace1 in execute_pass_list (pass=0x83f8350) at
/home/hp/combined/combined/gcc/tree-optimize.c:656
#10 0x080bad05 in execute_pass_list (pass=0x83c2b00) at
/home/hp/combined/combined/gcc/tree-optimize.c:657
#11 0x080baf5a in tree_rest_of_compilation (fndecl=0xb7fc2a8c) at
/home/hp/combined/combined/gcc/tree-optimize.c:787
#12 0x08059766 in c_expand_body (fndecl=0xb7fc2a8c) at
/home/hp/combined/combined/gcc/c-decl.c:6572
#13 0x082d2bc0 in cgraph_expand_function (node=0xb7fdb144) at
/home/hp/combined/combined/gcc/cgraphunit.c:993
#14 0x082d2d34 in cgraph_expand_all_functions () at
/home/hp/combined/combined/gcc/cgraphunit.c:1057
#15 0x082d2f6d in cgraph_optimize () at
/home/hp/combined/combined/gcc/cgraphunit.c:1159
#16 0x08295966 in compile_file () at
/home/hp/combined/combined/gcc/toplev.c:1013
#17 0x08296c33 in do_compile () at /home/hp/combined/combined/gcc/toplev.c:2123
#18 0x08296c95 in toplev_main (argc=23, argv=0xbffffb74) at
/home/hp/combined/combined/gcc/toplev.c:2155
#19 0x0809dfe3 in main (argc=23, argv=0xbffffb74) at
/home/hp/combined/combined/gcc/main.c:35
With a few "During symbol reading, Incomplete CFI data; unspecified registers at
0x..." pruned.
--
Summary: [4.1 regression] cris-elf broken, dce is_gimple_reg_type
(type=0x0) building newlib
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, build
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hp at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu (FC2)
GCC target triplet: cris-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21638