re PR c++/80991 (ICE with __is_trivially_constructible in template)
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 24 Oct 2017 16:41:05 +0000 (16:41 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 24 Oct 2017 16:41:05 +0000 (16:41 +0000)
commit02b0c08c2c42c6e4e53525e14953ad4099536773
tree0e35c722ba30404ff7210b8aeaa1cdaf89ad8104
parent5cc75a43b16a5d3bacb915a7870f61c17f6888cc
re PR c++/80991 (ICE with __is_trivially_constructible in template)

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

PR c++/80991
* pt.c (value_dependent_expression_p, [TRAIT_EXPR]): Handle
a TREE_LIST as TRAIT_EXPR_TYPE2.

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

PR c++/80991
* g++.dg/ext/is_trivially_constructible5.C: New.

From-SVN: r254051
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/is_trivially_constructible5.C [new file with mode: 0644]