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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo.carlini at oracle dot com

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Thanks. I'm seriously wondering if this is also a problem with the name of the
warning, because, I suppose, the same warning named -Wcast-to-the-same-type
would generate different expectations in terms of false positives, etc, right?
Now, assuming we can't do nothing about that, names, I wonder what could be
reasonably done with a reasonable effort: would, say, the user like a drastic
reduction of false positives obtained by restricting the warning only to PODs,
or similar very "simple" (to be further clarified) types, or there is really
the expectation that a similarly named warning does "the right thing" for any
kind of type? At the moment I have no idea about a sensible trade-off, I'm not
seeing many reports about the warning, I don't know if it's good or bad ;)

Reply via email to