[Bug c/40305] strict aliasing and inlining

2009-05-30 Thread jakub at gcc dot gnu dot org
--- 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:

[Bug c/40305] strict aliasing and inlining

2009-05-30 Thread arnaud dot lb at gmail dot com
--- Comment #1 from arnaud dot lb at gmail dot com 2009-05-30 13:22 --- Created an attachment (id=17936) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17936&action=view) preprocessed code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40305