From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6968A395C859; Wed, 27 May 2020 14:11:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6968A395C859 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1590588711; bh=g+D/oWOWksOuW+7ooDCxL5ifUebt894EeuVqzkCsK6A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=haJ7PWQnnC3ehuIsxeydN9HV4hKLA52iOV7R/nm7QShBn9HV/4zq9GwlYMl2Lwkxm zBg5pIjv0mPAzys8cG3r9hMVm7VR2/Dde2JW09i7RMP1K5RcJ1nXa0gN5Rn74gsMYM 2jcQlDtYTyGahJyK3VngS+FV1/PLdRsRonUX2oOs= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/95222] [10/11 Regression] GCC 10.1 x86 issue with function pointers with calling convention attribute and template specialization Date: Wed, 27 May 2020 14:11:51 +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.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.2 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2020 14:11:51 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95222 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:0c473d8f32510fcc96d584ee5099b856cfd3d8d6 commit r10-8189-g0c473d8f32510fcc96d584ee5099b856cfd3d8d6 Author: Jason Merrill Date: Mon May 25 19:04:05 2020 -0400 c++: Fix stdcall attribute in template. [PR95222] Another case that breaks with my fix for PR90750: we shouldn't move type attributes in TYPENAME context either, as there's no decl for them to m= ove to. gcc/cp/ChangeLog: PR c++/95222 * decl.c (grokdeclarator): Don't shift attributes in TYPENAME context. gcc/testsuite/ChangeLog: PR c++/95222 * g++.dg/ext/tmplattr10.C: New test. (cherry picked from commit 7e7d9fcff56385812764cba63e1ebf6f4c6c0320)=