[Bug tree-optimization/106246] [13 Regression] powerpc-darwin9 bootstrap fails after r13-1575-gcf3a120084e946 ICE vect_transform_loops, at tree-vectorizer.cc:1032

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 11 09:06:36 GMT 2022


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

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #5 from Iain Sandoe <iains at gcc dot gnu.org> ---
actually fails sooner - Ada and libstdc++ stage1 fail to build (constraint/bus
errors).

this is from a cross (which I realise you will not be able to replicate,
without the sysroot etc.)  If the reason is non-obvious, I'll try a reduction
later..

/scratch/10-15-cat/gcc-master-x-powerpc/./gcc/cc1plus -fpreprocessed
cxx11-locale-inst.ii -feliminate-unused-debug-symbols -fPIC -quiet -dumpbase
cxx11-locale-inst.cc -dumpbase-ext .cc -mmacosx-version-min=10.5 -g -O2 -Wall
-Wextra -Wwrite-strings -Wcast-qual -Wabi=2 -std=gnu++11 -version
-fno-implicit-templates -fdiagnostics-show-location=once -ffunction-sections
-fdata-sections -frandom-seed=cxx11-locale-inst.lo -fno-common -o
cxx11-locale-inst.s

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x8)
    frame #0: 0x0000000101ca6d94
cc1plus`vect_setup_realignment(vinfo=0x0000000106fb50e0,
stmt_info=0x0000000106fb3aa0, gsi=0x00007ffeefbfe720,
realignment_token=0x00007ffeefbfdc70,
alignment_support_scheme=dr_explicit_realign, init_addr=0x000000010aa73e58,
at_loop=0x00007ffeefbfdc60) at tree-vect-data-refs.cc:5784:32
   5781     pe = loop_preheader_edge (loop_for_initial_load);
   5782 
   5783   tree vuse;
-> 5784   gphi *vphi = get_virtual_phi (loop_for_initial_load->header);
   5785   if (vphi)
   5786     vuse = PHI_ARG_DEF_FROM_EDGE (vphi, pe);
   5787   else


  * frame #0: 0x0000000101ca6d94
cc1plus`vect_setup_realignment(vinfo=0x0000000106fb50e0,
stmt_info=0x0000000106fb3aa0, gsi=0x00007ffeefbfe720,
realignment_token=0x00007ffeefbfdc70,
alignment_support_scheme=dr_explicit_realign, init_addr=0x000000010aa73e58,
at_loop=0x00007ffeefbfdc60) at tree-vect-data-refs.cc:5784:32
    frame #1: 0x0000000101cd5882
cc1plus`::vectorizable_load(vinfo=0x0000000106fb50e0,
stmt_info=0x0000000106fb3aa0, gsi=0x00007ffeefbfe720,
vec_stmt=0x00007ffeefbfe648, slp_node=0x0000000109488098,
cost_vec=0x0000000000000000) at tree-vect-stmts.cc:9608:34
    frame #2: 0x0000000101cdbe66
cc1plus`vect_transform_stmt(vinfo=0x0000000106fb50e0,
stmt_info=0x0000000106fb3aa0, gsi=0x00007ffeefbfe720,
slp_node=0x0000000109488098, slp_node_instance=0x0000000106830140) at
tree-vect-stmts.cc:11332:32
    frame #3: 0x0000000101d40be4
cc1plus`::vect_schedule_slp_node(vinfo=0x0000000106fb50e0,
node=0x0000000109488098, instance=0x0000000106830140) at
tree-vect-slp.cc:7438:25
    frame #4: 0x0000000101d41725
cc1plus`::vect_schedule_scc(vinfo=0x0000000106fb50e0, node=0x0000000109488098,
instance=0x0000000106830140, scc_info=0x00007ffeefbfea40,
maxdfs=0x00007ffeefbfea3c, stack=0x00007ffeefbfea28) at
tree-vect-slp.cc:7633:30
    frame #5: 0x0000000101d415e3
cc1plus`::vect_schedule_scc(vinfo=0x0000000106fb50e0, node=0x0000000109488010,
instance=0x0000000106830140, scc_info=0x00007ffeefbfea40,
maxdfs=0x00007ffeefbfea3c, stack=0x00007ffeefbfea28) at
tree-vect-slp.cc:7614:22
    frame #6: 0x0000000101d41e03
cc1plus`vect_schedule_slp(vinfo=0x0000000106fb50e0,
slp_instances=0x0000000106830170) at tree-vect-slp.cc:7750:20
    frame #7: 0x0000000101d3b97c
cc1plus`::vect_slp_region(bbs=vec<basic_block_def*, va_heap, vl_ptr> @
0x00007ffeefbfebe8, datarefs=vec<data_reference*, va_heap, vl_ptr> @
0x00007ffeefbfebe0, dataref_groups=0x00007ffeefbff050, n_stmts=98,
orig_loop=0x0000000000000000) at tree-vect-slp.cc:6056:26
    frame #8: 0x0000000101d3c26a cc1plus`::vect_slp_bbs(bbs=0x00007ffeefbff0d8,
orig_loop=0x0000000000000000) at tree-vect-slp.cc:6168:26
    frame #9: 0x0000000101d3c752
cc1plus`vect_slp_function(fun=0x000000010aa8a678) at tree-vect-slp.cc:6256:23
    frame #10: 0x0000000101d5c847
cc1plus`pass_slp_vectorize::execute(this=0x0000000106b113e0,
fun=0x000000010aa8a678) const at tree-vectorizer.cc:1532:21
    frame #11: 0x00000001016e3116
cc1plus`execute_one_pass(pass=0x0000000106b113e0) at passes.cc:2644:30
    frame #12: 0x00000001016e34fd
cc1plus`::execute_pass_list_1(pass=0x0000000106b113e0) at passes.cc:2744:28
    frame #13: 0x00000001016e352e
cc1plus`::execute_pass_list_1(pass=0x0000000106b11380) at passes.cc:2745:22
    frame #14: 0x00000001016e352e
cc1plus`::execute_pass_list_1(pass=0x0000000106b0f250) at passes.cc:2745:22
    frame #15: 0x00000001016e3594
cc1plus`execute_pass_list(fn=0x000000010aa8a678, pass=0x0000000106b0ef50) at
passes.cc:2755:23
    frame #16: 0x0000000100efdf96
cc1plus`cgraph_node::expand(this=0x000000010a752110) at cgraphunit.cc:1834:21
    frame #17: 0x0000000100efe76f cc1plus`::expand_all_functions() at
cgraphunit.cc:1998:17
    frame #18: 0x0000000100eff4b4
cc1plus`symbol_table::compile(this=0x0000000106c06000) at cgraphunit.cc:2348:24
    frame #19: 0x0000000100eff921
cc1plus`symbol_table::finalize_compilation_unit(this=0x0000000106c06000) at
cgraphunit.cc:2529:11
    frame #20: 0x00000001018af3ef cc1plus`::compile_file() at toplev.cc:479:41


More information about the Gcc-bugs mailing list