From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1A3743857C62; Tue, 25 Oct 2022 07:49:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1A3743857C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666684154; bh=Zll6jcNE5Ut/3NYlJTWR5ALP2m3FTPqihrcNFhEAFZc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iuSHOME5sx3pmYtFAOejhCiWtjGVy0oOvs3PQ5iSAg7o4S1wn1jPtWxQ2wyQ4g/UA qZ4z0O7E7McF6W7gTR1Bq5iX5xPwC0vNpkx8im+dbtBNabi4DMXxxoHLbjDNUZzIlR SF4oeTPdbbcQorPFtGr7AHJe7k6DXA+gbsvZBZ30= From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/107353] [13 regression] Numerous ICEs after r13-3416-g1d561e1851c466 Date: Tue, 25 Oct 2022 07:49:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned 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=3D107353 --- Comment #10 from Arseny Solokha --- g++ 13.0.0 20221023 snapshot (g:0e37fd4dc74c1db99cdc7d71ef378e1221253c6f) I= CEs when compiling the following testcase, reduced from test/CodeGenCXX/cxx11-thread-local.cpp from the clang 14 test suite: struct Dtor; template struct X { static thread_local Dtor m; }; template thread_local Dtor X::m; extern template Dtor X::m; void *e2 =3D &X::m; % x86_64-pc-linux-gnu-g++-13 -c uuir2io5.cpp during IPA pass: whole-program uuir2io5.cpp:5:23: internal compiler error: in function_and_variable_visibility, at ipa-visibility.cc:889 5 | void *e2 =3D &X::m; | ^ 0x9403cc function_and_variable_visibility =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221023/work/gcc-13-20221023/gcc/ip= a-visibility.cc:889 0x20fe8a6 whole_program_function_and_variable_visibility =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221023/work/gcc-13-20221023/gcc/ip= a-visibility.cc:940 0x20fe8a6 execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221023/work/gcc-13-20221023/gcc/ip= a-visibility.cc:988=