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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Ideally the middle end should optimize it. But until then, I wonder if the
front end could detect when a non-trivial ctor is just doing zero-init of every
member, and fold it early.

Reply via email to