https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121523
Anton Blanchard <anton at ozlabs dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anton at ozlabs dot org --- Comment #2 from Anton Blanchard <anton at ozlabs dot org> --- I also hit this with: int a(void) { char *b; while (b < a && *b) b++; if (b >= a) return 0; } built with: riscv64-unknown-linux-gnu-gcc -Ofast -march=rv64gcv_zvl256b