https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77908
Janne Blomqvist <jb at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jb at gcc dot gnu.org --- Comment #5 from Janne Blomqvist <jb at gcc dot gnu.org> --- Confirmed on x86_64-apple-darwin16.7.0 with "8.2.0 (Homebrew GCC 8.2.0)". If I change bignumber to "huge(1_long) -1" the testcase works correctly. Unless someone has an idea how to generate the loop so the index doesn't wrap around while at the same time not regressing in performance, I'd say we close this as WONTFIX.