From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 96F74385B516; Tue, 25 Jul 2023 19:44:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 96F74385B516 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690314287; bh=DJ1EVD4p3o3+2tHCsfDPV/d0s2kZYupSqY38KnWFwY0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XZHJFYIfjucIeZiFjI61wuoxy6uzvowLJmJN1loOkxeB+hX3jP6j5f6j1wJp6OrRe Xd2qhPmQVrK1w0Siogf28ph2jCYGs0pvAI0AtTS5tJdhMOqb5kw9rECwILsBYzzxjc OKzixZWlCBeWD/Lj+nEvgK0M5OcQco65Jn7aYQDw= From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110776] [14 Regression] powerpc-darwin bootstrap broken after r14-2490 with ICE rs6000.cc:5069 building libgfortran Date: Tue, 25 Jul 2023 19:44:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: linkw at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110776 --- Comment #8 from Iain Sandoe --- (In reply to rguenther@suse.de from comment #7) > On Tue, 25 Jul 2023, linkw at gcc dot gnu.org wrote: >=20 > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110776 > >=20 > > --- Comment #6 from Kewen Lin --- > > (In reply to rguenther@suse.de from comment #5) > > > On Tue, 25 Jul 2023, linkw at gcc dot gnu.org wrote: > > >=20 > > > I think apart from the consideration what a single element vector > > > is compared to a scalar, a more to-the-point fix is > > >=20 > > > if (VECTOR_TYPE_P (ltype) > > > && memory_access_type !=3D VMAT_ELEMENTWISE) > >=20 > > Thanks for the suggestion! I thought checking lnel can also cover > > VMAT_STRIDED_SLP's special case having const_nunits 1, but it seems imp= ossible > > to have? >=20 > I think so, unless I'm convinced with a testcase ;) (sorry for being a bit slow - we had a power outage that wasted most of the day) Richi's suggested patch fixes build of a cross-build for powerpc-darwin and= the test results look OK too. A non-expert look at the code suggests that VMAT_ELEMENTWISE is already accounted for on the write side, so that we sho= uld not see a call to the costing code for the equivalent write-side.=