This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] Add maybe_constant_folded_value
- From: Jason Merrill <jason at redhat dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "Tietz, Kai" <ktietz at redhat dot com>
- Date: Thu, 13 Nov 2014 11:10:05 -0500
- Subject: Re: [C++ Patch] Add maybe_constant_folded_value
- Authentication-results: sourceware.org; auth=none
- References: <54648C2B dot 5090509 at oracle dot com>
On 11/13/2014 05:47 AM, Paolo Carlini wrote:
shall we do something like the below?
Something similar, yes. Though it would also be nice to avoid the
redundant checking in the two functions: we only want to do constexpr
folding if we did the tsubst.
Kai is working on folding changes, so I think let's let him weigh in on
how this will interact with his work.
Jason