[Bug c++/85140] [6/7/8 Regression] ICE with invalid use of alignas

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 3 16:21:00 GMT 2018


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr  3 16:21:02 2018
New Revision: 259039

URL: https://gcc.gnu.org/viewcvs?rev=259039&root=gcc&view=rev
Log:
        PR c++/85140
        * name-lookup.c (handle_namespace_attrs): Return early if attributes
        is error_mark_node.

        * g++.dg/cpp0x/gen-attrs-64.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/gen-attrs-64.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list