https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97673
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- And _that_ stmts location is set via 0 gimple_set_location (g=<gimple_assign 0x7ffff660baa0>, location=2147483660) at /home/rguenther/src/gcc2/gcc/gimple.h:1890 #1 0x0000000000fcf822 in annotate_one_with_location (gs=<gimple_assign 0x7ffff660baa0>, location=2147483660) at /home/rguenther/src/gcc2/gcc/gimple.c:1354 #2 0x0000000000fcf8bb in annotate_all_with_location_after (seq=0x7ffff660baa0, gsi=..., location=2147483660) at /home/rguenther/src/gcc2/gcc/gimple.c:1371 #3 0x000000000106ba5f in gimplify_expr (expr_p=0x7fffffffcbc8, pre_p=0x7fffffffcf58, post_p=0x7fffffffca50, gimple_test_f=0x103d7f1 <is_gimple_stmt(tree)>, fallback=0) at /home/rguenther/src/gcc2/gcc/gimplify.c:14956 #4 0x000000000104263a in gimplify_stmt (stmt_p=0x7fffffffcbc8, seq_p=0x7fffffffcf58) at /home/rguenther/src/gcc2/gcc/gimplify.c:6870 #5 0x000000000102cd4b in gimplify_and_add (t=<tree 0x0>, seq_p=0x7fffffffcf58) at /home/rguenther/src/gcc2/gcc/gimplify.c:489 #6 0x000000000102d49a in internal_get_tmp_var (val=<constructor 0x7ffff6612ba0>, pre_p=0x7fffffffcf58, post_p=0x0, is_formal=true, allow_ssa=true) at /home/rguenther/src/gcc2/gcc/gimplify.c:642 #7 0x000000000102d4e3 in get_formal_tmp_var (val=<constructor 0x7ffff6612ba0>, pre_p=0x7fffffffcf58) at /home/rguenther/src/gcc2/gcc/gimplify.c:663 #8 0x000000000106bf72 in gimplify_expr (expr_p=0x7fffffffcf28, pre_p=0x7fffffffcf58, post_p=0x7fffffffcdd0, gimple_test_f=0x102ce8c <is_gimple_mem_rhs_or_call(tree)>, fallback=1) at /home/rguenther/src/gcc2/gcc/gimplify.c:15045 #9 0x0000000001073cad in gimple_regimplify_operands (stmt=<gimple_assign 0x7ffff660b410>, gsi_p=0x7fffffffd000) at /home/rguenther/src/gcc2/gcc/gimplify-me.c:235 #10 0x00000000015f394c in insert_init_stmt (id=0x7fffffffd1d0, bb=<basic_block 0x7ffff6815c98 (5)>, init_stmt=<gimple_assign 0x7ffff660b410>) at /home/rguenther/src/gcc2/gcc/tree-inline.c:3397 #11 0x00000000015fd0f7 in tree_function_versioning ( old_decl=<function_decl 0x7ffff69e0200 master.0.sub3noiso>, new_decl=<function_decl 0x7ffff69f6600 master.0.sub3noiso.constprop>, tree_map=0x7ffff69f52d0 = {...}, param_adjustments=0x0, update_clones=true, blocks_to_copy=0x0, new_entry=<basic_block 0x0>) at /home/rguenther/src/gcc2/gcc/tree-inline.c:6399 from 'input_location' (meh) which is set by expand_call_inline and then "used" via tree_function_versioning.