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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
   Target Milestone|11.0                        |---
            Summary|[11 Regression] Bogus       |Unhelpful -Wuninitialized
                   |-Wuninitialized diagnostic  |diagnostic with type
                   |with type punning           |punning

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Let's keep it open as enhancement since the diagnostic isn't very helpful to
the user - but it is still technically correct since GCC will simply remove
the initialization as it has no valid use.

Reply via email to