[Bug middle-end/39460] strange aliasing warnings compiling pymol under gcc 4.4

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Mar 15 11:55:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list