https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396
--- Comment #64 from Ulrich Weigand <uweigand at gcc dot gnu.org> --- I'm seeing the same error on spu-elf when building newlib with GCC revision 255614. In case this isn't fixed by more recent changes already, here's a reduced test case (build with -O -g): const char * test (const char *s) { for (; ; s++) switch (*s) { case '-': case 0: return 0; case '\t': case '\n': case '\v': case '\f': case '\r': case ' ': continue; default: goto break2; } break2: for (; *s >= '0' && *s <= '9'; s++) ; return s; }