http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56187
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2013-02-02 Ever Confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-02-02 21:38:39 UTC --- GNU C defines void arithmetic as being the same as char pointer arithmetic and this code is always compiled with GCC. Also your patch is incorrect it should be: + else if (pc >= (char *)pc_begin + pc_range) If we are going apply it in the first place.