]> gcc.gnu.org Git - gcc.git/commit
re PR c++/85140 (ICE with invalid use of alignas)
authorJakub Jelinek <jakub@redhat.com>
Tue, 3 Apr 2018 16:21:02 +0000 (18:21 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 3 Apr 2018 16:21:02 +0000 (18:21 +0200)
commit93e544c1024f6afd47deae2fc6042bb2dfefafee
tree11397b0a2032c09470ce9615a611cb3875571017
parentb0493acbe61a7c51771c6a1e1abc8c568341c498
re PR c++/85140 (ICE with invalid use of alignas)

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.

From-SVN: r259039
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/gen-attrs-64.C [new file with mode: 0644]
This page took 0.269848 seconds and 5 git commands to generate.