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

--- Comment #10 from LIU Hao <lh_mouse at 126 dot com> ---
(In reply to LIU Hao from comment #9)
> The bug exists around the initialization of a global variable in 'file2.cpp':

This is incorrect. The argument to `operator new` is `4` so the bug happens for
initialization of `d`, not `e`:

```
auto e = new std::discard_block_engine< int >;
auto d = new int((*e)());
```

Reply via email to