re PR c++/71739 (ICE on valid C++11 code: tree check: expected identifier_node, have...
authorJakub Jelinek <jakub@redhat.com>
Mon, 4 Jul 2016 17:31:38 +0000 (19:31 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 4 Jul 2016 17:31:38 +0000 (19:31 +0200)
commit2a5537c3e20ffae1e35923a063d42a3f21e47727
tree8a8661dd415ba3837bc00e25972e45e28566850f
parent74bb9de4ea808e156fe3545bff1500bdc5515728
re PR c++/71739 (ICE on valid C++11 code: tree check: expected identifier_node, have tree_list in private_is_attribute_p, at tree.c:6080)

PR c++/71739
* tree.c (attribute_value_equal): Use get_attribute_name instead of
directly using TREE_PURPOSE.

* g++.dg/cpp0x/pr71739.C: New test.

From-SVN: r237991
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr71739.C [new file with mode: 0644]
gcc/tree.c