From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A85053858D32; Thu, 13 Apr 2023 21:38:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A85053858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681421898; bh=eNXjmoci51XWD6NSf9qYaNclF+hutXlcuu3Xtn6YZYE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=O/eZdSjeSiDKRDlyE0U8xNK4KBQuBYhSFmFyiWqU0UB8+O8xnlVxu2ODnrWM77oVg i7XW896HqXFoFbkocK2GN5RyRSSvFhEfDQXieyVgTmkBUCo+ibFs0xoBOqTPflClI2 WAzOSE2gw0Kss0tsUsp0osT6zt00YdKUcaybNPbY= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvMTA5NTA2XSBbMTMgcmVncmVzc2lvbl0gJ2Vycm9y?= =?UTF-8?B?OiBpbmxpbmluZyBmYWlsZWQgaW4gY2FsbCB0byDigJhhbHdheXNfaW5saW5l?= =?UTF-8?B?4oCZIOKAmGZvbzxUPjo6Zm9vKCkgW3dpdGggVCA9IHZvaWRd4oCZOiBmdW5j?= =?UTF-8?B?dGlvbiBib2R5IG5vdCBhdmFpbGFibGUn?= Date: Thu, 13 Apr 2023 21:38:18 +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: 13.0 X-Bugzilla-Keywords: link-failure, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on keywords cf_known_to_work target_milestone bug_status everconfirmed 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=3D109506 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-04-13 Keywords| |link-failure, rejects-valid Known to work| |12.2.0 Target Milestone|--- |13.0 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- Confirmed. This is also a link failure issue: Take: ``` template struct foo { foo() {}; }; template class bar { foo<2> alloc_{}; }; template void func1() { bar<1>(); } void func2() { func1<2>(); } int main() { func2(); } ``` This should link and it currently fails for the same reason as the always_inline too.=