https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88214

--- Comment #1 from Sergei Trofimovich <slyfox at inbox dot ru> ---
Also reproduced on current gcc-master. Got nicer backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x102ae880 in bitmap_intersect_p (a=0xf7b73e88, b=0x101afaf) at
../../gcc/gcc/bitmap.c:2184
2184      gcc_checking_assert (!a->tree_form && !b->tree_form);
(gdb) bt
#0  0x102ae880 in bitmap_intersect_p (a=0xf7b73e88, b=0x101afaf) at
../../gcc/gcc/bitmap.c:2184
#1  0x10b2ae68 in pt_solutions_intersect_1 (pt1=pt1@entry=0xf7a992b8,
pt2=<optimized out>) at ../../gcc/gcc/tree-ssa-structalias.c:6841
#2  0x10b2b0e8 in pt_solutions_intersect (pt1=pt1@entry=0xf7a992b8,
pt2=<optimized out>) at ../../gcc/gcc/tree-ssa-structalias.c:6849
#3  0x10a13e48 in call_may_clobber_ref_p_1 (ref=<optimized out>,
call=0xf7a99288) at ../../gcc/gcc/gimple.h:3425
#4  call_may_clobber_ref_p_1 (call=0xf7a99288, ref=<optimized out>) at
../../gcc/gcc/tree-ssa-alias.c:1953
#5  0x10a14b9c in stmt_may_clobber_ref_p_1 (tbaa_p=<optimized out>,
ref=0xffffd828, stmt=0xf7a99288) at ../../gcc/gcc/tree-ssa-alias.c:2271
#6  stmt_may_clobber_ref_p_1 (stmt=stmt@entry=0xf7a99288,
ref=ref@entry=0xffffd828, tbaa_p=tbaa_p@entry=true) at
../../gcc/gcc/tree-ssa-alias.c:2266
#7  0x1063ef14 in determine_locally_known_aggregate_parts
(call=call@entry=0xf7b6e730, arg=<optimized out>, arg@entry=0xf7b4e6e0,
arg_type=arg_type@entry=0xf7aa5480, 
    jfunc=jfunc@entry=0xf7b774e8) at ../../gcc/gcc/ipa-prop.c:1631
#8  0x10645ee4 in ipa_compute_jump_functions_for_edge
(fbi=fbi@entry=0xffffdb3c, cs=cs@entry=0xf7b6d300) at
../../gcc/gcc/ipa-prop.c:1988
#9  0x106472b4 in ipa_compute_jump_functions_for_bb (bb=<optimized out>,
fbi=0xffffdb3c) at ../../gcc/gcc/ipa-prop.c:2016
#10 analysis_dom_walker::before_dom_children (this=<optimized out>,
bb=<optimized out>) at ../../gcc/gcc/ipa-prop.c:2534
#11 0x1118990c in dom_walker::walk (this=0xffffdb28, bb=0xf7b6d280) at
../../gcc/gcc/domwalk.c:405
#12 0x106433b8 in ipa_analyze_node (node=node@entry=0xf7a94798) at
../../gcc/gcc/ipa-prop.c:2604
#13 0x11214fd8 in ipcp_generate_summary () at ../../gcc/gcc/ipa-cp.c:5091
#14 0x10797984 in execute_ipa_summary_passes (ipa_pass=0x11ba4f10) at
../../gcc/gcc/passes.c:2183
#15 0x10359cb0 in ipa_passes () at ../../gcc/gcc/cgraphunit.c:2506
#16 symbol_table::compile (this=this@entry=0xf7a940d8) at
../../gcc/gcc/cgraphunit.c:2618
#17 0x1035c9c4 in symbol_table::compile (this=0xf7a940d8) at
../../gcc/gcc/cgraphunit.c:2863
#18 symbol_table::finalize_compilation_unit (this=0xf7a940d8) at
../../gcc/gcc/cgraphunit.c:2863
#19 0x108b5868 in compile_file () at ../../gcc/gcc/toplev.c:481
#20 0x101372a8 in do_compile () at ../../gcc/gcc/toplev.c:2176
#21 toplev::main (this=this@entry=0xffffdcb8, argc=<optimized out>,
argc@entry=23, argv=<optimized out>, argv@entry=0xffffdf34) at
../../gcc/gcc/toplev.c:2311
#22 0x10138a00 in main (argc=23, argv=0xffffdf34) at ../../gcc/gcc/main.c:39

# ./gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=./gcc/xgcc
Target: powerpc-unknown-linux-gnu
Configured with: ../gcc/configure --enable-languages=c
CC=/usr/lib/ccache/bin/gcc CXX=/usr/lib/ccache/bin/g++ CFLAGS='-O1 -ggdb'
CXXFLAGS='-O1 -ggdb'
Thread model: posix
gcc version 9.0.0 20181127 (experimental) (GCC)

Reply via email to