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

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

https://gcc.gnu.org/g:8e86218f05c1a866b43ae5af3e303f91fb6d7ff0

commit r12-5511-g8e86218f05c1a866b43ae5af3e303f91fb6d7ff0
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Thu Nov 25 08:39:35 2021 +0100

    c++: Return early in apply_late_template_attributes if there are no late
attribs [PR101180]

    The r12-299-ga0fdff3cf33f7284 change can result in cplus_decl_attributes
being called
    even if there are no late attributes (but at least one early attribute) in
    apply_late_template_attributes.  This patch fixes that, so that we return
early
    if there are no late attrs, only arrange for TYPE_ATTRIBUTES to get the
early
    attribute list.

    2021-11-25  Jakub Jelinek  <ja...@redhat.com>

            PR c++/101180
            * pt.c (apply_late_template_attributes): Return early if there are
no
            dependent attributes.

Reply via email to