From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 97E883858C50; Thu, 9 Feb 2023 23:07:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 97E883858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675984048; bh=o5Y7HhjteTUyFNNy8K27vMePduuqr97c3PpbUDzu/nw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ojTw1S5TRfqoLPNFDIW4yfUVEsiRbCky2AXx5fO2wnjfeffKWAPmJ8dp2DvYZphLw d7MfIUofWz59rVJbaAHBZDqQ0UqhhG85CzffINGL5h7soGzrCWSvdbq+1LgPE0umT8 e8acg9KpFN/cLUZLJtytbLux3tCPXI97avP1miaw= From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/105841] [12/13 Regression] Change in behavior of CTAD for alias templates Date: Thu, 09 Feb 2023 23:07:27 +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: 12.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D105841 --- Comment #7 from Jason Merrill --- Created attachment 54444 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54444&action=3Dedit fix Here's a patchset to implement the standard behavior plus the CWG2664 clarification. Mike, does this look good to you? Any additional testcases? Also pushed to refs/users/jason/heads/alias-ctad in the git repository. (https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dshortlog;h=3Drefs/users/jason/hea= ds/alias-ctad)=