]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/59080 ([c++11] ICE with array of auto)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 25 Nov 2013 09:29:18 +0000 (09:29 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 25 Nov 2013 09:29:18 +0000 (09:29 +0000)
commit7c3001f41a2346db040675a26a14979d3bf76c2b
tree8c4df0c4ef890e3613150784ffba4521d08c85b7
parentd1d1af106b3e735c2e29a63840ee1687f12927d2
re PR c++/59080 ([c++11] ICE with array of auto)

/cp
2013-11-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/59080
* pt.c (unify): Don't call unify_array_domain with a NULL_TREE
third argument.

PR c++/59096
* pt.c (apply_late_template_attributes): Check that TREE_VALUE
isn't NULL_TREE in the attribute_takes_identifier_p case.

/testsuite
2013-11-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/59080
* g++.dg/cpp0x/initlist75.C: New.

PR c++/59096
* g++.dg/cpp0x/gen-attrs-57.C: New.

From-SVN: r205344
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/gen-attrs-57.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/initlist75.C [new file with mode: 0644]