re PR c++/65295 ([C++1y] constexpr function causes ICE if it returns a local variable...
authorAldy Hernandez <aldyh@redhat.com>
Tue, 3 Mar 2015 18:14:24 +0000 (18:14 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Tue, 3 Mar 2015 18:14:24 +0000 (18:14 +0000)
commitbf66b9b45c6cf6bccd2791d7c091759b2ad35437
tree6878b8e800999efb5ee8039f55e82679f1cf9613
parent71ca36ba7ba0decc431460e09c7d9ac4eebfc77c
re PR c++/65295 ([C++1y] constexpr function causes ICE if it returns a local variable bigger than 16 bytes)

PR c++/65295
* constexpr.c (cxx_eval_constant_expression): Remove assert in
RESULT_DECL handling.

From-SVN: r221161
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/pr65295.C [new file with mode: 0644]