https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108773
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-reduction --- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- I'm not sure I'll be able to reduce it, btw. it crashes here: #0 fancy_abort (file=file@entry=0x22c7288 "/home/marxin/Programming/gcc/gcc/gimplify.cc", line=line@entry=3058, function=function@entry=0x22c6bab "gimplify_var_or_parm_decl") at /home/marxin/Programming/gcc/gcc/diagnostic.cc:2219 #1 0x00000000007c1226 in gimplify_var_or_parm_decl (expr_p=0x7fffcfd6e338) at /home/marxin/Programming/gcc/gcc/gimplify.cc:3058 #2 0x0000000000ebcb6b in gimplify_expr (expr_p=0x7fffcfd6e338, pre_p=0x7fffffffbbb0, post_p=0x7fffffffb0f8, gimple_test_f=0xeab4c0 <is_gimple_addressable(tree)>, fallback=3) at /home/marxin/Programming/gcc/gcc/gimplify.cc:16822 #3 0x0000000000ec36d6 in gimplify_addr_expr (expr_p=0x7fffba8c6940, pre_p=0x7fffffffbbb0, post_p=0x7fffffffb0f8) at /home/marxin/Programming/gcc/gcc/gimplify.cc:6561 #4 0x0000000000ebce24 in gimplify_expr (expr_p=0x7fffba8c6940, pre_p=0x7fffffffbbb0, post_p=0x7fffffffb0f8, gimple_test_f=0xe6fb70 <is_gimple_val(tree_node*)>, fallback=1) at /home/marxin/Programming/gcc/gcc/gimplify.cc:16408 #5 0x0000000000ec8822 in gimplify_expr (post_p=0x0, allow_ssa=true, fallback=<optimized out>, gimple_test_f=<optimized out>, pre_p=0x7fffffffbbb0, expr_p=0x7fffba8c6940) at /home/marxin/Programming/gcc/gcc/gimplify.cc:17425 #6 gimplify_arg (arg_p=0x7fffba8c6940, pre_p=0x7fffffffbbb0, call_location=1422861833, allow_ssa=<optimized out>) at /home/marxin/Programming/gcc/gcc/gimplify.cc:3504 #7 0x0000000000ecbf1c in gimplify_call_expr (expr_p=0x7fffcb66aad8, pre_p=0x7fffffffbbb0, want_value=<optimized out>) at /home/marxin/Programming/gcc/gcc/gimplify.cc:3789 #8 0x0000000000ebd0ec in gimplify_expr (expr_p=0x7fffcb66aad8, pre_p=0x7fffffffbbb0, post_p=0x7fffffffb308, gimple_test_f=0xeafb80 <is_gimple_stmt(tree)>, fallback=0) at /home/marxin/Programming/gcc/gcc/gimplify.cc:16333 #9 0x0000000000ebf4e7 in gimplify_stmt (stmt_p=<optimized out>, seq_p=0x7fffffffbbb0) at /home/marxin/Programming/gcc/gcc/gimplify.cc:7219 ... (gdb) p debug_tree(decl) <var_decl 0x7fffe72e9480 D.1471832 type <record_type 0x7ffff6fe43f0 allocator sizes-gimplified addressable needs-constructing cxx-odr-p type_1 type_4 type_5 type_6 BLK size <integer_cst 0x7ffff76420c0 constant 8> unit-size <integer_cst 0x7ffff76420d8 constant 1> align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7ffff6fe43f0 fields <field_decl 0x7ffff6da0390 D.19596 type <record_type 0x7ffff6d96930 __new_allocator> ignored decl_6 BLK /home/marxin/Programming/testcases/ceph.ii:10806:11 size <integer_cst 0x7ffff7642000 constant 0> unit-size <integer_cst 0x7ffff7642000 0> align:8 warn_if_not_align:0 offset_align 8 decl_not_flexarray: 0 offset <integer_cst 0x7ffff7642000 0> bit-offset <integer_cst 0x7ffff7642048 constant 0> context <record_type 0x7ffff6fe43f0 allocator> chain <function_decl 0x7ffff6d9ce00 __ct >> context <namespace_decl 0x7ffff763c098 std> full-name "class std::allocator<char>" needs-constructor needs-destructor X() X(constX&) this=(X&) n_parents=1 use_template=3 interface-only pointer_to_this <pointer_type 0x7ffff6d9d540> reference_to_this <reference_type 0x7ffff6d9da80> chain <type_decl 0x7ffff6fe3980 allocator>> addressable used ignored read BLK /home/marxin/Programming/testcases/ceph.ii:322049:24 size <integer_cst 0x7ffff76420c0 8> unit-size <integer_cst 0x7ffff76420d8 1> align:8 warn_if_not_align:0 context <function_decl 0x7ffff00ec500 hook_to_admin_command>>