[Bug c/40305] strict aliasing and inlining
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat May 30 13:50:00 GMT 2009
------- Comment #2 from jakub at gcc dot gnu dot org 2009-05-30 13:50 -------
It is invalid. f->a is accessed through an incompatible type (void * rather
than int *). And gcc even warns about it, with -Wstrict-aliasing=2 or
-Wstrict-aliasing=1.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40305
More information about the Gcc-bugs
mailing list