From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9F53C3850416; Tue, 16 Mar 2021 14:19:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F53C3850416 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/99466] internal compiler error: in function_and_variable_visibility, at ipa-visibility.c:795 Date: Tue, 16 Mar 2021 14:19:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 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: Tue, 16 Mar 2021 14:19:45 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99466 --- Comment #6 from Iain Sandoe --- (In reply to Iain Buclaw from comment #5) > (In reply to Iain Sandoe from comment #4) > > (In reply to Iain Buclaw from comment #3) > > > Oldest compiler version have tried it one is 8.4.0, and there's an IC= E there > > > as well. > >=20 > > On Darwin16 : ICE back to 5.5, at least (probably, it never worked - I = will > > see if can find a 4.x compiler on an older box) > >=20 > > I don't see any specific reason for this to be "waiting" now. > The system installed compiler (4.2.1) errors with "thread-local storage n= ot > supported for this target", so yes, I think you're right. emuTLS was introduced sometime in 4.x (RTH made the implementation), it did= not exist for Apple-4.x, native TLS was introduced in clang for Darwin11 (but we don't have that for GCC, yet - with an open PR for that). for the record the emuTLS test ICEs back to at least 4.6.4 on Darwin9. Given that this is ice-on-valid, IMO we should consider fixing on the open branches.=