https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113835

--- Comment #18 from Jason Merrill <jason at gcc dot gnu.org> ---
If I increase the limits (or reduce N) enough that we get through the whole
evaluation, constant-evaluation still fails right at the end because the result
refers to the result of operator new and we don't have non-transient constexpr
allocation (P3554) yet.  I'm not sure how we could shortcut that failure in
general, but I suppose we could recognize std::vector and bail out early.

Reply via email to