From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 102ED3858280; Mon, 11 Jul 2022 09:06:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 102ED3858280 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106246] [13 Regression] powerpc-darwin9 bootstrap fails after r13-1575-gcf3a120084e946 ICE vect_transform_loops, at tree-vectorizer.cc:1032 Date: Mon, 11 Jul 2022 09:06:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: build, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2022 09:06:37 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106246 Iain Sandoe changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #5 from Iain Sandoe --- 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 reducti= on 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=3D10.5 -g -O2 -= Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=3D2 -std=3Dgnu++11 -version -fno-implicit-templates -fdiagnostics-show-location=3Donce -ffunction-secti= ons -fdata-sections -frandom-seed=3Dcxx11-locale-inst.lo -fno-common -o cxx11-locale-inst.s * thread #1, queue =3D 'com.apple.main-thread', stop reason =3D EXC_BAD_ACC= ESS (code=3D1, address=3D0x8) frame #0: 0x0000000101ca6d94 cc1plus`vect_setup_realignment(vinfo=3D0x0000000106fb50e0, stmt_info=3D0x0000000106fb3aa0, gsi=3D0x00007ffeefbfe720, realignment_token=3D0x00007ffeefbfdc70, alignment_support_scheme=3Ddr_explicit_realign, init_addr=3D0x000000010aa73= e58, at_loop=3D0x00007ffeefbfdc60) at tree-vect-data-refs.cc:5784:32 5781 pe =3D loop_preheader_edge (loop_for_initial_load); 5782=20 5783 tree vuse; -> 5784 gphi *vphi =3D get_virtual_phi (loop_for_initial_load->header); 5785 if (vphi) 5786 vuse =3D PHI_ARG_DEF_FROM_EDGE (vphi, pe); 5787 else * frame #0: 0x0000000101ca6d94 cc1plus`vect_setup_realignment(vinfo=3D0x0000000106fb50e0, stmt_info=3D0x0000000106fb3aa0, gsi=3D0x00007ffeefbfe720, realignment_token=3D0x00007ffeefbfdc70, alignment_support_scheme=3Ddr_explicit_realign, init_addr=3D0x000000010aa73= e58, at_loop=3D0x00007ffeefbfdc60) at tree-vect-data-refs.cc:5784:32 frame #1: 0x0000000101cd5882 cc1plus`::vectorizable_load(vinfo=3D0x0000000106fb50e0, stmt_info=3D0x0000000106fb3aa0, gsi=3D0x00007ffeefbfe720, vec_stmt=3D0x00007ffeefbfe648, slp_node=3D0x0000000109488098, cost_vec=3D0x0000000000000000) at tree-vect-stmts.cc:9608:34 frame #2: 0x0000000101cdbe66 cc1plus`vect_transform_stmt(vinfo=3D0x0000000106fb50e0, stmt_info=3D0x0000000106fb3aa0, gsi=3D0x00007ffeefbfe720, slp_node=3D0x0000000109488098, slp_node_instance=3D0x0000000106830140) at tree-vect-stmts.cc:11332:32 frame #3: 0x0000000101d40be4 cc1plus`::vect_schedule_slp_node(vinfo=3D0x0000000106fb50e0, node=3D0x0000000109488098, instance=3D0x0000000106830140) at tree-vect-slp.cc:7438:25 frame #4: 0x0000000101d41725 cc1plus`::vect_schedule_scc(vinfo=3D0x0000000106fb50e0, node=3D0x0000000109= 488098, instance=3D0x0000000106830140, scc_info=3D0x00007ffeefbfea40, maxdfs=3D0x00007ffeefbfea3c, stack=3D0x00007ffeefbfea28) at tree-vect-slp.cc:7633:30 frame #5: 0x0000000101d415e3 cc1plus`::vect_schedule_scc(vinfo=3D0x0000000106fb50e0, node=3D0x0000000109= 488010, instance=3D0x0000000106830140, scc_info=3D0x00007ffeefbfea40, maxdfs=3D0x00007ffeefbfea3c, stack=3D0x00007ffeefbfea28) at tree-vect-slp.cc:7614:22 frame #6: 0x0000000101d41e03 cc1plus`vect_schedule_slp(vinfo=3D0x0000000106fb50e0, slp_instances=3D0x0000000106830170) at tree-vect-slp.cc:7750:20 frame #7: 0x0000000101d3b97c cc1plus`::vect_slp_region(bbs=3Dvec @ 0x00007ffeefbfebe8, datarefs=3Dvec @ 0x00007ffeefbfebe0, dataref_groups=3D0x00007ffeefbff050, n_stmts=3D98, orig_loop=3D0x0000000000000000) at tree-vect-slp.cc:6056:26 frame #8: 0x0000000101d3c26a cc1plus`::vect_slp_bbs(bbs=3D0x00007ffeefb= ff0d8, orig_loop=3D0x0000000000000000) at tree-vect-slp.cc:6168:26 frame #9: 0x0000000101d3c752 cc1plus`vect_slp_function(fun=3D0x000000010aa8a678) at tree-vect-slp.cc:625= 6:23 frame #10: 0x0000000101d5c847 cc1plus`pass_slp_vectorize::execute(this=3D0x0000000106b113e0, fun=3D0x000000010aa8a678) const at tree-vectorizer.cc:1532:21 frame #11: 0x00000001016e3116 cc1plus`execute_one_pass(pass=3D0x0000000106b113e0) at passes.cc:2644:30 frame #12: 0x00000001016e34fd cc1plus`::execute_pass_list_1(pass=3D0x0000000106b113e0) at passes.cc:2744:= 28 frame #13: 0x00000001016e352e cc1plus`::execute_pass_list_1(pass=3D0x0000000106b11380) at passes.cc:2745:= 22 frame #14: 0x00000001016e352e cc1plus`::execute_pass_list_1(pass=3D0x0000000106b0f250) at passes.cc:2745:= 22 frame #15: 0x00000001016e3594 cc1plus`execute_pass_list(fn=3D0x000000010aa8a678, pass=3D0x0000000106b0ef5= 0) at passes.cc:2755:23 frame #16: 0x0000000100efdf96 cc1plus`cgraph_node::expand(this=3D0x000000010a752110) at cgraphunit.cc:183= 4:21 frame #17: 0x0000000100efe76f cc1plus`::expand_all_functions() at cgraphunit.cc:1998:17 frame #18: 0x0000000100eff4b4 cc1plus`symbol_table::compile(this=3D0x0000000106c06000) at cgraphunit.cc:2= 348:24 frame #19: 0x0000000100eff921 cc1plus`symbol_table::finalize_compilation_unit(this=3D0x0000000106c06000) = at cgraphunit.cc:2529:11 frame #20: 0x00000001018af3ef cc1plus`::compile_file() at toplev.cc:479= :41=