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 14:42:16 -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 #3 from pluto at agmk dot net 2006-11-07 14:42 -------
Program received signal SIGSEGV, Segmentation fault.
append_to_statement_list_1 (t=0x2b70307e9940, list_p=0x8) at
../../gcc/gimplify.c:297
297 tree list = *list_p;
(gdb) bt
#0 append_to_statement_list_1 (t=0x2b70307e9940, list_p=0x8) at
../../gcc/gimplify.c:297
#1 0x00000000006215d4 in append_to_statement_list (t=0x2b70307e9940,
list_p=0x8) at ../../gcc/gimplify.c:321
#2 0x00000000004200d7 in add_stmt (gnu_stmt=0x2b70307e9940) at
../../gcc/ada/trans.c:4374
#3 0x000000000042014e in add_stmt_with_node (gnu_stmt=0x2b70307e9940,
gnat_node=8) at ../../gcc/ada/trans.c:4390
#4 0x000000000042020e in add_decl_expr (gnu_decl=0x2b703064b2a0,
gnat_entity=0) at ../../gcc/ada/trans.c:4416
#5 0x0000000000419ed2 in gnat_pushdecl (decl=0x2b703064b2a0, gnat_node=0) at
../../gcc/ada/utils.c:354
#6 0x0000000000419fd7 in builtin_function (name=<value optimized out>,
type=0x2b70307dfa50, function_code=480,
class=BUILT_IN_NORMAL, library_name=0x0, attrs=0x0) at
../../gcc/ada/utils.c:1845
#7 0x0000000000922e7e in tree_ssa_prefetch_arrays (loops=0x142dc10) at
../../gcc/tree-ssa-loop-prefetch.c:1039
#8 0x000000000090f892 in tree_ssa_loop_prefetch () at
../../gcc/tree-ssa-loop.c:418
#9 0x000000000087bc4f in execute_one_pass (pass=0xdd5cc0) at
../../gcc/passes.c:870
#10 0x000000000087bd3e in execute_pass_list (pass=0xdd5cc0) at
../../gcc/passes.c:917
#11 0x000000000087bd55 in execute_pass_list (pass=0xdd58a0) at
../../gcc/passes.c:918
#12 0x000000000087bd55 in execute_pass_list (pass=0xdd0ac0) at
../../gcc/passes.c:918
#13 0x000000000061f2af in tree_rest_of_compilation (fndecl=0x2b702fc410e0) at
../../gcc/tree-optimize.c:463
#14 0x0000000000412023 in gnat_expand_body (gnu_decl=0x2b70307e9940) at
../../gcc/ada/misc.c:666
#15 0x00000000008c12c3 in cgraph_expand_function (node=0x2b7030580900) at
../../gcc/cgraphunit.c:1241
#16 0x00000000008c1be7 in cgraph_optimize () at ../../gcc/cgraphunit.c:1306
#17 0x0000000000412575 in gnat_parse_file (set_yydebug=<value optimized out>)
at ../../gcc/ada/misc.c:250
#18 0x000000000085f2a3 in toplev_main (argc=<value optimized out>, argv=<value
optimized out>) at ../../gcc/toplev.c:1033
#19 0x000000000061c661 in main (argc=813603136, argv=0x8) at
../../gcc/main.c:35
Program received signal SIGSEGV, Segmentation fault.
append_to_statement_list_1 (t=0x2aaf80d0b940, list_p=0x8) at
../../gcc/gimplify.c:297
297 tree list = *list_p;
(gdb) up
#1 0x00000000006215d4 in append_to_statement_list (t=0x2aaf80d0b940,
list_p=0x8) at ../../gcc/gimplify.c:321
321 append_to_statement_list_1 (t, list_p);
(gdb)
#2 0x00000000004200d7 in add_stmt (gnu_stmt=0x2aaf80d0b940) at
../../gcc/ada/trans.c:4374
4374 append_to_statement_list (gnu_stmt, ¤t_stmt_group->stmt_list);
(gdb) p gnu_stmt
$5 = (tree) 0x2aaf80d0b940
(gdb) call debug_tree(gnu_stmt)
<decl_expr 0x2aaf80d0b940
type <void_type 0x2aaf80096d10 void sizes-gimplified asm_written visited
VOID
align 8 symtab 0 alias set -1
pointer_to_this <pointer_type 0x2aaf80096dc0>>
side-effects
arg 0 <function_decl 0x2aaf80b6d2a0 __builtin_prefetch
type <function_type 0x2aaf80d01a50 type <void_type 0x2aaf80096d10 void>
QI
size <integer_cst 0x2aaf800897b0 constant invariant 8>
unit size <integer_cst 0x2aaf800897e0 constant invariant 1>
align 8 symtab 0 alias set -1
arg-types <tree_list 0x2aaf80d05e70 value <pointer_type
0x2aaf80096f20>>>
public external no-static-chain QI file ../../gcc/ada/a-exexda.adb line
637 context <function_decl 0x2aaf801630e0
ada__exceptions__exception_data__set_exception_msgXn>>>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29710