From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DB4B73858C5F; Tue, 25 Jul 2023 06:53:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB4B73858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690267993; bh=LEnGJF5XsRqL9ZKvDqzdwIzBaedQImicBiy3NJM9XQM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=proIp+LvvVR4J5uRDTJ8nyTqJ+IVCq+87dk8dDNALBviG4ImPtCc01TekBq+Shuue CIG07gbV6nhd7BQrNYgr0HG2TWLTCZbINXD8KerX3IrySvD54maSDZI8jds50Irg3q +IUl2QNe01CRqsr5V2AwfEQxI/EwJwyrhzTT6UWE= From: "linkw 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 06:53:13 +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: linkw 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 #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) Thanks for the suggestion! I thought checking lnel can also cover VMAT_STRIDED_SLP's special case having const_nunits 1, but it seems impossi= ble to have? Then it's more clear with explicit VMAT_ELEMENTWISE checking.=