Re: constexpr function caching

2016-04-26 Thread Jason Merrill
OK. Jason

constexpr function caching

2016-04-26 Thread Nathan Sidwell
Jason. we currently clone constexpr function bodies when evaluating them (via the reuse cache that caused such fun). The cloning is necessary so decls in different (recursive) evaluations are distinct. We only need to clone for recursive evaluations though -- the outermost evaluation could u