------- Comment #11 from rguenth at gcc dot gnu dot org 2009-03-15 11:55 ------- Huh. Weird. I can reproduce this with
typedef int myint __attribute__((may_alias)); int foo(void *p) { myint *q = (int *)p; return *q; } happens since 4.0. But only for the C frontend. -> PR39464. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39460