From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B37993857C65; Tue, 28 Nov 2023 11:35:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B37993857C65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701171314; bh=SarLG2E3YdT38YnqdntN4vMqVawnVIvTNkg1G7dXHsE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uu6nB/My1UEPtZ0NjYzA/VFzKYUkZ79p1FnKWyd6Ys5A0+mcz7oGfqu3gsTqpseH3 sIH27J+7uRAjP9fcxA3V0qKtrOPdmrRTQD11BRQFbbBDe21y9ZSRXdvtXAEP0axnM+ ZPrMn/Zg0ZFEZ4IQ5uvcouPzQDOki9mP8mtdeHSw= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/112732] during IPA pass: *free_lang_data ICE: 'verify_type' failed: type variant with 'TYPE_ALIAS_SET_KNOWN_P' with -Os -Wstrict-aliasing=2 -flto Date: Tue, 28 Nov 2023 11:35:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords cc 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112732 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Keywords| |ice-checking CC| |hubicka at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #2 from Richard Biener --- The vector type is built as a distinct type copy from a vector type that has the alias set already set (by the diagnostic code). #0 0x0000000001adac14 in build_opaque_vector_type ( innertype=3D, nunits=3D...) at /home/rguenther/src/trunk/gcc/tree.cc:10271 #1 0x0000000000d97c7c in build_binary_op (location=3D279873, code=3DEQ_EXP= R,=20 orig_op0=3D,=20 orig_op1=3D, convert_p=3Dtrue) at /home/rguenther/src/trunk/gcc/c/c-typeck.cc:12617 #2 0x0000000000d7230f in parser_build_binary_op (location=3D279873,=20 code=3DEQ_EXPR, arg1=3D..., arg2=3D...) at /home/rguenther/src/trunk/gcc/c/c-typeck.cc:3766 I think given this checking that build_opaque_vector_type should clear TYPE_ALIAS_SET.=