https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95222

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:7e7d9fcff56385812764cba63e1ebf6f4c6c0320

commit r11-662-g7e7d9fcff56385812764cba63e1ebf6f4c6c0320
Author: Jason Merrill <ja...@redhat.com>
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 move
    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.

Reply via email to