Corentin Jabot
Corentin Jabot
After chatting with @AaronBallman, we think the short term fix is to * Fix the overflow by failing allocation larger than UINT_MAX * Prevent constant folding for Very Large Arrays,...
> I thought the current interpreter has some notion of "steps" it executes and a limit for those; does that limit not trigger when constructors of too large arrays are...
@brutalsavage was that found by fuzzing btw?
I am not sure how this ever worked. const vector & is not a specialization of vector. You need to remove the reference somewhere https://godbolt.org/z/EdYYGM8EE
Hey @ThePhD - i missed that comment, it seems worth exploring!
https://godbolt.org/z/xhrev78xs
https://compiler-explorer.com/z/9Mo8MxY71 *
Big fan of 1 build script/binary per folder so `/src/foo/foo.main.cpp`