re PR c++/80449 (ICE reporting failed partial class template specialization class...
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 23 Oct 2017 21:37:59 +0000 (21:37 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 23 Oct 2017 21:37:59 +0000 (21:37 +0000)
commit403226f0ed25834228556e9561c1a15dc58dee34
tree485633823f06beb7a4bc073fca832cade0ef93a8
parent6b10f1741a1d79c9e32e8790fb98ba93c864b219
re PR c++/80449 (ICE reporting failed partial class template specialization class template argument deduction)

/cp
2017-10-23  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/80449
* semantics.c (finish_compound_literal): Check do_auto_deduction
return value for error_mark_node.

/testsuite
2017-10-23  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/80449
* g++.dg/cpp1z/class-deduction46.C: New.

From-SVN: r254026
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1z/class-deduction46.C [new file with mode: 0644]