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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
No, GCC doesn't warn about redundant initialization, certainly not for base
classes.

The optimizer will remove the dead store, but won't warn about it.

Reply via email to