From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D8E8B3858D39; Fri, 20 Oct 2023 09:20:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D8E8B3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697793619; bh=pQ6+dfPRCvF7LqE1vJp+rA5MKHr+dcadPgF7IJEJCm0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JCYNnPBGZ/xajh7L7JMvnk6xDtpe+kvGZuWh/DHFZEvODGPojJaSMQ3dxTaYSwIQV r4ETAPKlRbfDT4s9ZsJAHQBi2HTDmw/c9cFfu6gO/8YLDSMWC9DLfSqlEKRL91NfoA CWfHTFHfuL47Tm6MgW0EYuPBDf3ur2ppYVpIks24= From: "pobrn at protonmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108238] auto return type and some attributes don't get along Date: Fri, 20 Oct 2023 09:20:19 +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.2.0 X-Bugzilla-Keywords: diagnostic, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pobrn at protonmail dot com 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=3D108238 --- Comment #5 from Barnab=C3=A1s P=C5=91cze = --- Based on a suggestion from Jakub Jel=C3=ADnek, I have tried to modify `is_late_template_attribute()` instead, but it appears that function does n= ot run in this case.=