re PR c++/58614 ([c++11] ICE with undeclared variable in initializer list)
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 16 Jan 2015 09:38:59 +0000 (09:38 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 16 Jan 2015 09:38:59 +0000 (09:38 +0000)
commitde37b21e3d945ed6a0bf032078c233854ff38c8e
tree77bb03abdfe5561e51159f0f1c980b486229ae09
parente1872645056e6aeee90a54a825d0961a57c6966a
re PR c++/58614 ([c++11] ICE with undeclared variable in initializer list)

/cp
2015-01-16  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58614
* pt.c (unify): When BRACE_ENCLOSED_INITIALIZER_P (arg), handle
TREE_TYPE (elt) == error_mark_node.

/testsuite
2015-01-16  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58614
* g++.dg/cpp0x/auto44.C: New.

From-SVN: r219716
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/auto44.C [new file with mode: 0644]