http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48006
Carlo Wood <carlo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | Target Milestone|--- |4.6.1 --- Comment #2 from Carlo Wood <carlo at gcc dot gnu.org> 2011-04-12 15:48:07 UTC --- I couldn't get it to work with restrict, but after changing all size_t into int, the difference indeed disappears, so I guess you're right and this is caused by strict aliasing.