From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 658A6386D634; Mon, 8 May 2023 13:03:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 658A6386D634 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683551030; bh=iiN9L+hyQI+/vBgzakblVsRv7OhvTrg2VwcOTFYs+GI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pKg1l57dJ2acAi85bi8DoxcJ79uujfXiOo0qpeiiEN1BkuJOaHWna3OehFdR06gSS bh2y54zG3EeCN5YbqihB4pC7XuE1gT7Pw/obRUypskPgohgryN7Nqqy7LOr1MI8UDX vFQEreEHK70RUV6b8OjMq1q3C4HopW/r9icQ7oso= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93107] unable to deduce initializer_list from function template 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: 10.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek 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=3D93107 --- Comment #6 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.=