From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 164CC3986427; Wed, 27 May 2020 14:10:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 164CC3986427 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1590588628; bh=lihCIzPxRK/0V2KUF/cuohgtApMZegBCVz7mP33sA1A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FS+71/m+25/U9f2MmgXhSR2gs2WlOJj3se5JjZKHXC0BYzCAdWLJu1SWKUmc4cbxQ vC92sTcYHqkS5vp/nU8iPLZTrqwoJpfgqS3x6fdDt0AwthhEj056QuBiYoNfdsHo0Q 5jN5Q/o+/JZOkkO9lCDXyE9MrrCYsp9rI8Qm6iI8= 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:10:27 +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:10:28 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95222 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7e7d9fcff56385812764cba63e1ebf6f4c6c0320 commit r11-662-g7e7d9fcff56385812764cba63e1ebf6f4c6c0320 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.=