[Bug middle-end/39322] Missed aliasing warning

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Mar 3 20:55:00 GMT 2009



------- Comment #5 from reichelt at gcc dot gnu dot org  2009-03-03 20:55 -------
> Actually this is not a bogus aliasing warning at all.  You are accessing a
> character type as an int which is an aliasing violation.

Yeah, you're right. One can only access an int array via a char pointer, but
not
the other way round. Sorry for screwing things up.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39322



More information about the Gcc-bugs mailing list