[Bug c++/81474] out of memory on constexpr calculation
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 12 07:27:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81474
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Fedor Bobkov from comment #2)
> Thread-starting example is intended only for demonstration of out of memory
> error on simply example. In real projects out of memory error occurs with
> much smaller loops which just use bigger amount of data.
>
> I had got this error on compile-time bilinear downscaling of signed distance
> field image. May be it is not proper way to use constexprs but it is very
> useful in embedded applications (with small RAM and big ROM (flash) memory).
Can you please elaborate it more? We're interested in a test-case for that ;)
More information about the Gcc-bugs
mailing list