[Bug c++/63412] aliasing issue exposed by inlining
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 30 01:09:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63412
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>If there is a strict aliasing issue, shouldn't -Wall be warning about it?
Well sometimes it is hard to detect strict aliasing rules violations.
And yes this is an alias violation as ObjectReference<Array> and
ObjectReference<Object> are two different classes and will be in two different
aliasing sets.
More information about the Gcc-bugs
mailing list