From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8017C3858C66; Tue, 25 Jul 2023 07:12:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8017C3858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690269144; bh=NJSSbknYD+BnfitOvOiYJ0FlX4BjpkspmHNxOUjWigY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FgwpD9Cz9pbUbtjQhASdAqimLTtoHAvcBXNLygTBekZxWKHgZ6JjGXdZ1dhp9Hhrx jUzfXrlSkXX+JGJBnAcndrULpTTvBai1dylBEPVGaKG37uSa8jO3Kr3WlrfXtaRmC+ B/Z87xkQOzuIh2OXG+2piVJkAN5ynsY1g6EvaR4k= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110797] template keyword used as a distinguisher with concept to reject for auto usage Date: Tue, 25 Jul 2023 07:12:24 +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: 14.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: short_desc keywords 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=3D110797 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|GCC rejects std::template |template keyword used as a |same_as form |distinguisher with concept | |to reject for auto usage Keywords| |rejects-valid --- Comment #1 from Andrew Pinski --- Reduced testcase: ``` namespace tt { template concept t =3D true; } tt::template t auto i =3D 0; ```=