https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108425
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jan Hubicka from comment #3) > short a; > int *null; > int > test(int val1, int val2) > { > a=1; > int r = val1/val2; > a=3; > return r; > } Which is already filed as PR 106075 .