From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 75AA73858C42; Sun, 24 Mar 2024 19:59:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 75AA73858C42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711310393; bh=90SekPhYwJ9hr0Vj53ZQTmtZcWEpH+JDllpMo7/JJHk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vhatDQPy4092J9RW/NCsR/lbYIwkdahprLYO9Gg2E+hGulksYyyg9cTzDjXMx89C5 rGJrzaqBrDf6nuXrkIBWoZseCaMHOn22cfLTOfSRJM/+fR415cWM4TxLcxzpx77H+1 fqfMvJHi5hWd5I75JRNTcAyGbUEYJQwrUHxnP2Uo= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/113208] [14 Regression] lto1: error: Alias and target's comdat groups differs since r14-5979-g99d114c15523e0 Date: Sun, 24 Mar 2024 19:59:52 +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-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.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=3D113208 --- Comment #13 from Andrew Pinski --- (In reply to Sam James from comment #9) > ``` > $ gcc -std=3Dc++20 -flto src_data_test_MappedRead.cpp.ii > src_data_test_QualityValues.cpp.ii -O1 > lto1: error: Alias and target=E2=80=99s comdat groups differs > _ZNSt6vectorIN6PacBio4Data12QualityValueESaIS2_EEC2ERKS4_/8 (__ct_base ) > Type: function definition analyzed > [...] > ``` This testcase seems undefined behavior ... The only difference between the 2 files is one has constexpr on the vector constructor and the other does not ...=