http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39464
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org |gnu.org | --- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-07 16:41:36 UTC --- Created attachment 28897 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28897 gcc48-pr39464.patch Andrew, you were right, and a regtest with the patch I've outlined actually showed it clearly. For unsigned int __attribute__((may_alias)) vs. normal unsigned int pointer we already warn about incompatible pointer type, so I'll try the attached patch now instead.