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 <mpola...@gcc.gnu.org>: https://gcc.gnu.org/g:53e91f867bd1c3773d37b2efb8875b8b1416a9d2 commit r10-8276-g53e91f867bd1c3773d37b2efb8875b8b1416a9d2 Author: Marek Polacek <pola...@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.