------- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-21 00:18 ------- ++*(int **)&a1; ++*(int **)&a2;
you are accessing a void* as an int* which violates C/C++ aliasing rules so you are invoking undefined behavior. *** This bug has been marked as a duplicate of 21920 *** -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34169