On 17/11/14 18:15, Jason Merrill wrote:
On 11/17/2014 05:29 AM, Richard Biener wrote:
can you rename it to copy_fn please? It really copies parameter and
result and then the body.
Ok with that change.
Done. Here's what I'm checking in, along with a second patch to enable
the new code for C+
Jason Merrill writes:
> commit e52e82e56507d1de1932abcafd80683c4dc00d1e
> Author: Jason Merrill
> Date: Sun Nov 16 17:14:12 2014 -0500
>
> * constexpr.c (use_new_call): Always use new call handling.
>
> diff --git a/gcc/cp/constexpr.c b/gcc/cp/constexpr.c
> index 57d0c46..8881271 100644
On 11/17/2014 05:29 AM, Richard Biener wrote:
can you rename it to copy_fn please? It really copies parameter and
result and then the body.
Ok with that change.
Done. Here's what I'm checking in, along with a second patch to enable
the new code for C++11 as well:
commit 71b7bdd54c7bf07343
On Sun, Nov 16, 2014 at 5:59 AM, Jason Merrill wrote:
> This patch implements more support for C++14 constexpr: it allows arbitrary
> modification of variables in a constexpr function, but does not currently
> handle jumping -- multiple returns, loops, switches.
>
> The approach I took for this wa
On 11/15/2014 11:59 PM, Jason Merrill wrote:
This handles some more C++14 testcases and has no regressions on C++11
constexpr testcases. Support for jumps will follow soon.
Like this, though it still needs a bit of cleaning up.
diff --git a/gcc/cp/constexpr.c b/gcc/cp/constexpr.c
index 53cfb1