From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0DC773845871; Mon, 8 May 2023 13:03:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0DC773845871 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683551030; bh=ZRXUz02ZdPsZSJKyt9RnusALRgxrF+Ymsksy2WzEQqE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HNveWKUHPxise1clSvMbdAhoj7XVf2BKfKCgsH+WaXaCge5x0c01LHs5J13/zP0HZ Dbe0albCxlY8oTU+0AL00IzFV+PCn8/tKxs0wJRkH977w8PQF9so+PFNZmrw9MN8Nt tbiUqLr6tsLQeHQfzN5caMpthP35ld80yNcPLWGo= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/106214] Vector template argument deduction fails for templated function element Date: Mon, 08 May 2023 13:03:49 +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: 11.3.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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=3D106214 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:06ef1583d68169d1a002f5e86189462bb748963c commit r14-578-g06ef1583d68169d1a002f5e86189462bb748963c Author: Patrick Palka Date: Mon May 8 09:03:35 2023 -0400 c++: list CTAD and resolve_nondeduced_context [PR106214] This extends the PR93107 fix, which made us do resolve_nondeduced_conte= xt on the elements of an initializer list during auto deduction, to happen= for CTAD as well. PR c++/106214 PR c++/93107 gcc/cp/ChangeLog: * pt.cc (do_auto_deduction): Move up resolve_nondeduced_context calls to happen before do_class_deduction. Add some error_mark_node tests. gcc/testsuite/ChangeLog: * g++.dg/cpp1z/class-deduction114.C: New test.=