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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> There are different levels of -Wstrict-aliasing and iirc level 3 will warn.
>

Remember that -Wstrict-aliasing's numerical levels are weird compared to other
warnings with numerical levels

> Note I don't think the uninitialized warning is a bad thing here. Because it
> does point out gcc is thinking it is uninitialized due to the alias
> violation.

The wording that gets printed is still a bit confusing, though, since the
variable that gets the first caret isn't the same one that gets named in the
first line of the warning. The note helps a bit, but I can still see how it
might be confusing to some.

Reply via email to