[Bug c++/64547] A non-const constexpr function is rejected incorrectly
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 12 14:15:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64547
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jan 12 14:15:07 2015
New Revision: 219466
URL: https://gcc.gnu.org/viewcvs?rev=219466&root=gcc&view=rev
Log:
PR c++/64547
* constexpr.c (cxx_eval_call_expression): A call to a void
function doesn't need to return a value.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-void2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list