From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 52D693858023; Wed, 31 Aug 2022 21:00:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 52D693858023 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661979658; bh=NjCz/5Gyp6/S6oAPb9+pwFqXBECNfiwZ+m/b9H8Y5/4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QRgyQnO7hRqp4AGZUvXog/tqjGjPNQ5adxBvTjsEBvKzeZytPQZK1RdYDcsvoHqOQ zOFMznHshV4xtKeO7rPkdQcddymN8GB2lDup/sMhuMWOtlcs5NV66h6+0kYC4vHs1u qyah9GiIkWdhFtHxrvdHXPKzY9EiB9rF4T4HIPI4= From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106736] [13 Regression] ICE in gen_movxo, at config/rs6000/mma.md:333 Date: Wed, 31 Aug 2022 21:00:57 +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: 13.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 13.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=3D106736 --- Comment #11 from Segher Boessenkool --- (In reply to Peter Bergner from comment #10) > (In reply to Segher Boessenkool from comment #9) > > When MMA is not enabled, > ... > > the __vector_{quad,pair} types should not exist,=20 >=20 > Unfortunately, target type initialization only occurs once at the very > beginning That is what indirection is for (or copying more likely, in this case). > and if we don't initialize them because of the command line > options in affect at the time, then we get problems like PR96125, so we h= ave > to initialize these types always, just like we do for built-in functions. I don't understand? > I also don't know of any way to attach flags to a type that says when a t= ype > is enabled/exists and when it doesn't. You have to manually add code in strategic places. Very fiddly, and very fragile. Or, can you do stuff in rs6000_option_override_internal?=