diff options
author | Jason Merrill <jason@redhat.com> | 2014-12-17 15:41:18 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2014-12-17 15:41:18 -0500 |
commit | 12d9ce19034428072b3779eff017c5e129ee4c0e (patch) | |
tree | dfc5f8c7bb2b4b522da4a02ec8e17658f3a656ab /gcc/sreal.c | |
parent | 92a596e856e165a28c245fcc29e72baf8283cf9c (diff) | |
download | gcc-12d9ce19034428072b3779eff017c5e129ee4c0e.zip gcc-12d9ce19034428072b3779eff017c5e129ee4c0e.tar.gz gcc-12d9ce19034428072b3779eff017c5e129ee4c0e.tar.bz2 |
re PR c++/64333 (C++14 constexpr gives wrong results when a looping constexpr function is evaluated twice)
PR c++/64333
* constexpr.c (cxx_bind_parameters_in_call): non_constant_args parm.
(cxx_eval_call_expression): Don't cache calls with non-constant args.
(cxx_eval_constant_expression) [COMPOUND_EXPR]: Pass true for lval.
(cxx_eval_unary_expression, cxx_eval_binary_expression)
(cxx_eval_conditional_expression): Pass false for lval.
From-SVN: r218832
Diffstat (limited to 'gcc/sreal.c')
0 files changed, 0 insertions, 0 deletions