From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BDE1C3857C4F; Wed, 1 May 2024 20:31:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BDE1C3857C4F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714595515; bh=hqTNoT/73iCnpkexYQLdBSIyv2eF/7QONOwIjKrwomY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tkUNxuVMacEcdIB5qNt9RAPe6Bfz9AdO0lmeeyKQjQeY73OPFOQAKu/ceXvumZ7Ld utt7x8+2l/1sq6Fy0kHGzLL2F4DLE1W9t0dWM6pXWGSsPC7i5/SKDRdC1t/GcfBmcy oy+c/KlUPj+FDcHYYdZjxjGq3NvRrv5QBq6EuzXE= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114377] [13 Regression] GCC crashes on an example of CTAD for alias templates Date: Wed, 01 May 2024 20:31:54 +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.2.1 X-Bugzilla-Keywords: ice-on-invalid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 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=3D114377 --- Comment #6 from GCC Commits --- The releases/gcc-13 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:60e1e13f458f1fcfb05a30ace57fa682461e2732 commit r13-8669-g60e1e13f458f1fcfb05a30ace57fa682461e2732 Author: centurion Date: Wed Mar 27 18:36:37 2024 +0000 c++: alias CTAD and template template parm [PR114377] To match all the other places that pull a _TEMPLATE_PARM out of a _DECL (get_template_parm_index, etc.). This change is too small to be legally significant for copyright. PR c++/114377 gcc/cp/ChangeLog: * pt.cc (find_template_parameter_info::found): Use TREE_TYPE for TEMPLATE_DECL instead of DECL_INITIAL. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/class-deduction-alias19.C: New test. Reviewed-by: Jason Merrill (cherry picked from commit 801e82acd6b4f0cf863529875947e394899ea7b9)=