This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29710] gnat ICEs on -fprefetch-loop-arrays -O1.
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Nov 2006 06:06:51 -0000
- Subject: [Bug tree-optimization/29710] gnat ICEs on -fprefetch-loop-arrays -O1.
- References: <bug-29710-7667@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pluto at agmk dot net 2006-11-07 06:06 -------
(In reply to comment #1)
> Can you give the backtrace and also attach the sources which crash?
sources come from gcc-4.2.0-0.20061030r118195.
(gdb) r
Starting program:
/home/users/pluto/rpm/BUILD/gcc-4_2-branch/builddir/prev-gcc/gnat1 -I- -I.
-Iada -I../../gcc/ada -quiet -dumpbase a-except.adb -O1 -fprefetch-loop-arrays
-gnatpg -gnata -g -mtune=generic -gnatO ada/a-except.o
../../gcc/ada/a-except.adb -o /tmp/ccr3NsG5.s
Program received signal SIGSEGV, Segmentation fault.
0x000000000062155e in append_to_statement_list_1 ()
(gdb) bt
#0 0x000000000062155e in append_to_statement_list_1 ()
#1 0x00000000006215d4 in append_to_statement_list ()
#2 0x00000000004200d7 in add_stmt ()
#3 0x000000000042014e in add_stmt_with_node ()
#4 0x000000000042020e in add_decl_expr ()
#5 0x0000000000419ed2 in gnat_pushdecl ()
#6 0x0000000000419fd7 in builtin_function ()
#7 0x0000000000922f4e in tree_ssa_prefetch_arrays ()
#8 0x000000000090f962 in tree_ssa_loop_prefetch ()
#9 0x000000000087bccf in execute_one_pass ()
#10 0x000000000087bdbe in execute_pass_list ()
#11 0x000000000087bdd5 in execute_pass_list ()
#12 0x000000000087bdd5 in execute_pass_list ()
#13 0x000000000061f2af in tree_rest_of_compilation ()
#14 0x0000000000412023 in gnat_expand_body ()
#15 0x00000000008c1393 in cgraph_expand_function ()
#16 0x00000000008c1cb7 in cgraph_optimize ()
#17 0x0000000000412575 in gnat_parse_file ()
#18 0x000000000085f2a3 in toplev_main ()
#19 0x000000000061c661 in main ()
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29710