[Bug c++/71739] [6/7 Regression] ICE on valid C++11 code: tree check: expected identifier_node, have tree_list in private_is_attribute_p, at tree.c:6080
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 4 17:34:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71739
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jul 4 17:33:50 2016
New Revision: 237992
URL: https://gcc.gnu.org/viewcvs?rev=237992&root=gcc&view=rev
Log:
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.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/pr71739.C
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/testsuite/ChangeLog
branches/gcc-6-branch/gcc/tree.c
More information about the Gcc-bugs
mailing list