PR c++/77338
commit53d2f3de3b77137e56a321eb0c7515d2a6a056a9
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Sep 2016 20:22:35 +0000 (16 20:22 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Sep 2016 20:22:35 +0000 (16 20:22 +0000)
tree1aee74c97f309f743e628901ae1bc355d7d71cc1
parent24b3d864a8d14aff75561b1bee142e10ddcc725c
PR c++/77338
* constexpr.c (cxx_eval_constant_expression) <case PARM_DECL>: Only
call is_really_empty_class on complete types.

* g++.dg/cpp0x/decltype-77338.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240196 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype-77338.C [new file with mode: 0644]