re PR c++/77338 (ICE on invalid C++11 code on x86_64-linux-gnu: Segmentation fault)
authorJakub Jelinek <jakub@redhat.com>
Fri, 16 Sep 2016 20:22:35 +0000 (22:22 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 16 Sep 2016 20:22:35 +0000 (22:22 +0200)
commit1c2f613fbcc6ed7da19d8ed5aa487c813c21297b
tree1aee74c97f309f743e628901ae1bc355d7d71cc1
parente7d61178099e49835d84fba9c5bffbace0f26099
re PR c++/77338 (ICE on invalid C++11 code on x86_64-linux-gnu: Segmentation fault)

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.

From-SVN: r240196
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype-77338.C [new file with mode: 0644]