From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0C904386F465; Tue, 2 Apr 2024 20:18:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C904386F465 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712089088; bh=kx+yTEUMydqpFs3ztK3ffSwuMNZycocT7mkXQGB3CUk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LOzmgqZVhMZfyKJr/5M4WDaVBqzmy1pX0ZQjtsYso8jGXRNGIHib1FDMJW8rFkfl8 yKrc81/ccUgGBXn6HrX+89B0AmoPc0+S875yTFDbp6l5g0gfDPZnTNykC6vOXOt2Sb UwtTZM6s3/9ceqaUncxw0/ut9j5gqlFdO3tXYKrs= From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111067] g++.dg/opt/icf{1,2,3}.C tests fail on darwin Date: Tue, 02 Apr 2024 20:18:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: testsuite-fail 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111067 --- Comment #7 from Iain Sandoe --- however: 1) it is not in the gnu:: namespace the tests just have it as [[ ]]. 2) I do not think that the standard has anything to say about how entities= at file scope are ordered in memory (many/most impls. probably use the same or= der as the file - but I do not think they are obliged to). 3) it is an ABI break for Darwin (where two global entities are not allowed= to have the same address - although it _is_ possible to tell the linker that o= ne is an alias for another - that support is not (yet) available in the FE). So I am actually asking=20 - if the extension actually has any useful meaning? - if it is an extension it probably should be only available in gnu:: ?=