[Bug c++/65896] [5/6 Regression] Erroneous uninitialized variable access error in constexpr function with temporary variables
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 29 00:58:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65896
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Apr 29 00:57:50 2015
New Revision: 222557
URL: https://gcc.gnu.org/viewcvs?rev=222557&root=gcc&view=rev
Log:
PR c++/65896
* constexpr.c (cxx_eval_store_expression): Don't try to actually
store an empty class.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-empty9.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list