https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122701

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Reduced testcase - compile with 'cc1 -march=gfx900 -g -O2' (or any other
-march):

char _strtoimax_r_c;
void _strtoimax_r() {
  for (;; _strtoimax_r_c++) {
    if (_strtoimax_r_c <= '9')
      _strtoimax_r_c -= '0';
    if (_strtoimax_r_c >= 'A')
      break;
  }
}

Reply via email to