From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D59D63857C7F; Wed, 6 Jan 2021 05:26:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D59D63857C7F From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/98540] [8/9/10/11 Regression] ICE: error: type variant with 'TYPE_ALIAS_SET_KNOWN_P' since r7-6939-g853ef4e5632df328 Date: Wed, 06 Jan 2021 05:26:45 +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: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: Wed, 06 Jan 2021 05:26:45 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98540 --- Comment #2 from Martin Li=C5=A1ka --- Created attachment 49894 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D49894&action=3Dedit Reduced test-case Started with r7-6939-g853ef4e5632df328 and it was rejected before: $ g++ lambda.cpp -O3 -Wall -flto -c -std=3Dc++17 lambda.cpp: In function =E2=80=98void iterateMatchesFullSimd()=E2=80=99: lambda.cpp:254:9: warning: typedef =E2=80=98using TBlastRecord =3D int=E2= =80=99 locally defined but not used [-Wunused-local-typedefs] 254 | using TBlastRecord =3D int; | ^~~~~~~~~~~~ lambda.cpp: At global scope: lambda.cpp:258:1: error: type variant with =E2=80=98TYPE_ALIAS_SET_KNOWN_P= =E2=80=99 258 | } | ^ unit-size align:16 warn_if_not_align:0 symtab:0 alias-set 2 canonical-type 0x7ffff7415498 precision:16 min max > sizes-gimplified type_6 HI size unit-si= ze align:16 warn_if_not_align:0 symtab:0 alias-set 2 canonical-type 0x7ffff755ba80 nunits:1> unit-size align:16 warn_if_not_align:0 symtab:0 alias-set 2 canonical-type 0x7ffff7415498 precision:16 min max > sizes-gimplified type_6 HI size unit-si= ze align:16 warn_if_not_align:0 symtab:0 alias-set 2 canonical-type 0x7ffff755ba80 nunits:1> during IPA pass: *free_lang_data lambda.cpp:258:1: internal compiler error: =E2=80=98verify_type=E2=80=99 fa= iled 0x139f4d0 verify_type(tree_node const*) /home/marxin/Programming/gcc/gcc/tree.c:14906 0x13a2407 free_lang_data /home/marxin/Programming/gcc/gcc/tree.c:6436 0x13a2407 execute /home/marxin/Programming/gcc/gcc/tree.c:6481 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=