@dalias @pervognsen @regehr even if you check the return value it can elide it (it's also irrelevant how large the allocation is, you can bloat it to allocate an extremely large amount of memory and it'll still elide the whole thing) https://gcc.godbolt.org/z/doEfnac61