This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51433] constexpr caching leads to incorrect dynamic initialization


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51433

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-10 14:37:30 UTC ---
Author: jason
Date: Tue Jan 10 14:37:26 2012
New Revision: 183065

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183065
Log:
    PR c++/51433
    * semantics.c (cxx_eval_call_expression): Always retry previously
    non-constant expressions.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-cache1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]