re PR c++/51433 (constexpr caching leads to incorrect dynamic initialization)
authorJason Merrill <jason@redhat.com>
Tue, 10 Jan 2012 14:37:26 +0000 (09:37 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 10 Jan 2012 14:37:26 +0000 (09:37 -0500)
commita1e0490fb89dc31a8c1714be2ea0436affe1e2da
tree7c3edfdeeb21375e344025fa348abb3b208e6cad
parent91f074ced1fa309b50e019a8b3d4bb44d0774647
re PR c++/51433 (constexpr caching leads to incorrect dynamic initialization)

PR c++/51433
* semantics.c (cxx_eval_call_expression): Always retry previously
non-constant expressions.

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