[Bug c++/90915] [9/10 Regression] ICE in has_attribute, at c-family/c-attribs.c:4221
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 11 20:22:24 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90915
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Marek Polacek
<mpolacek@gcc.gnu.org>:
https://gcc.gnu.org/g:53e91f867bd1c3773d37b2efb8875b8b1416a9d2
commit r10-8276-g53e91f867bd1c3773d37b2efb8875b8b1416a9d2
Author: Marek Polacek <polacek@redhat.com>
Date: Thu Jun 11 16:21:18 2020 -0400
c++: Sorry about type-dependent arg for __builtin_has_attribute [PR90915]
Until 92104 is fixed, let's sorry rather than crash.
PR c++/90915
* parser.c (cp_parser_has_attribute_expression): Sorry on a
type-dependent argument.
* g++.dg/ext/builtin-has-attribute.C: New test.
More information about the Gcc-bugs
mailing list