This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/22216] New: [4.1 regression] ICE during GC
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jun 2005 11:52:20 -0000
- Subject: [Bug tree-optimization/22216] New: [4.1 regression] ICE during GC
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Broken by patch from PR21959.
$ stage1/xgcc -Bstage1/ -B/usr/local/ia64-suse-linux/bin/ -c -g -O2
-gnatpg -gnata -I- -I. -Iada -I../../gcc/ada ../../gcc/ada/par.adb -o
ada/par.o -v
Reading specs from stage1/specs
Target: ia64-suse-linux
Configured with: ../configure --host=ia64-suse-linux --enable-shared
--enable-threads --enable-__cxa_atexit --with-system-zlib
--with-system-libunwind
Thread model: posix
gcc version 4.1.0 20050628 (experimental)
stage1/gnat1 -I- -I. -Iada -I../../gcc/ada -quiet -dumpbase par.adb -O2 -g
-gnatpg -gnata -gnatO ada/par.o ../../gcc/ada/par.adb -o /tmp/cccUDAec.s
+===========================GNAT BUG DETECTED==============================+
| 4.1.0 20050628 (experimental) (ia64-suse-linux-gnu) Segmentation fault |
| Error detected at par.adb:1442:14 |
Starting program: /tmp/cvs/gcc-20050628/Build/gcc/stage1/gnat1 -I- -I. -Iada
-I../../gcc/ada -quiet -dumpbase par.adb -O2 -g -gnatpg -gnata -gnatO
ada/par.o ../../gcc/ada/par.adb
Program received signal SIGSEGV, Segmentation fault.
gt_ggc_mx_basic_block_def (x_p=0x0) at gtype-desc.c:402
402 {
(gdb) bt
#0 gt_ggc_mx_basic_block_def (x_p=0x0) at gtype-desc.c:402
#1 0x400000000096b120 in gt_ggc_mx_rtx_def (x_p=0x20000000032d2670)
at gtype-desc.c:846
#2 0x400000000096a090 in gt_ggc_mx_rtx_def (x_p=0x20000000032d2670)
at gtype-desc.c:846
#3 0x400000000096e820 in gt_ggc_mx_function (x_p=0x200000000072d600)
at gtype-desc.c:565
#4 0x4000000000041910 in gt_ggc_mx_lang_tree_node (x_p=0x20000000004509c0)
at gtype-ada.h:25
#5 0x4000000000041090 in gt_ggc_mx_lang_tree_node (x_p=0x200000000030ce70)
at gtype-ada.h:25
#6 0x4000000000041070 in gt_ggc_mx_lang_tree_node (x_p=0x200000000030ce00)
at gtype-ada.h:25
#7 0x4000000000041370 in gt_ggc_mx_lang_tree_node (x_p=0x20000000003def20)
at gtype-ada.h:25
#8 0x40000000000413d0 in gt_ggc_mx_lang_tree_node (x_p=0x20000000004768a0)
at gtype-ada.h:25
#9 0x40000000000413d0 in gt_ggc_mx_lang_tree_node (x_p=0x2000000001de12b0)
at gtype-ada.h:25
#10 0x40000000000413d0 in gt_ggc_mx_lang_tree_node (x_p=0x2000000001e7d6c0)
at gtype-ada.h:25
#11 0x4000000000966820 in gt_ggc_mx_reg_attrs (x_p=0x20000000029656d0)
at gtype-desc.c:438
#12 0x4000000000969e20 in gt_ggc_mx_rtx_def (x_p=0x0) at gtype-desc.c:846
#13 0x4000000000952a00 in ggc_mark_roots () at ggc-common.c:118
#14 0x4000000000b4f840 in ggc_collect () at ggc-page.c:1972
#15 0x4000000000b58b60 in rest_of_compilation () at passes.c:423
#16 0x40000000005d04f0 in execute_one_pass (pass=0x600000000000e840)
at tree-optimize.c:665
#17 0x40000000005d07e0 in execute_pass_list (pass=0x600000000000e840)
at tree-optimize.c:748
#18 0x40000000005d0e00 in tree_rest_of_compilation (fndecl=0x20000000004509c0)
at tree-optimize.c:914
#19 0x4000000000039410 in gnat_expand_body (gnu_decl=0x20000000004509c0)
at misc.c:635
#20 0x4000000000bd8030 in cgraph_expand_function (node=0x2000000001a4f330)
at cgraphunit.c:1033
#21 0x4000000000bdc080 in cgraph_optimize () at cgraphunit.c:1099
#22 0x400000000003a9c0 in gnat_parse_file (set_yydebug=11478448) at misc.c:245
#23 0x4000000000af25b0 in toplev_main (argc=241376, argv=0x600000000003aef8)
at toplev.c:1930
#24 0x40000000005bd430 in main (argc=241376, argv=0x600000000003aef8)
at main.c:35
--
Summary: [4.1 regression] ICE during GC
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: schwab at suse dot de
CC: dnovillo at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
dot org
GCC target triplet: ia64-*-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22216