re PR c++/63934 ([C++] internal compiler error: in adjust_temp_type, at cp/constexpr...
authorJason Merrill <jason@redhat.com>
Tue, 18 Nov 2014 17:07:24 +0000 (12:07 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 18 Nov 2014 17:07:24 +0000 (12:07 -0500)
commitde6147508bdf9f319ad246031e58a9983461034e
tree53b4559d47a26ddc6ee87eb8ea55094d828dba04
parent5d2d755e862d70f29ba26ad71c563de35ec230de
re PR c++/63934 ([C++] internal compiler error: in adjust_temp_type, at cp/constexpr.c:1020)

PR c++/63934
* constexpr.c (cxx_eval_call_expression): Check DECL_CONSTRUCTOR_P
rather than VOID_TYPE_P.

From-SVN: r217729
gcc/cp/ChangeLog
gcc/cp/constexpr.c