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

--- Comment #6 from Halalaluyafail3 <luigighiron at gmail dot com> ---
(In reply to Jonathan Wakely from comment #5)
> struct Empty { };
> struct S : Empty { char buf[1]; };
> 
> int main()
> {
>   S s;
>   new (s.buf) Empty;
> }
> 
> Isn't this exactly the same?
Yes, that has the same issue.

Reply via email to