https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110886
--- Comment #2 from Sergei Trofimovich <slyfox at gcc dot gnu.org> --- Forgot the reproducer itself: // $ cat altera.c.c int altera_export_bool_array_count_i, altera_export_bool_array_count_line, r; unsigned altera_export_bool_array_count_k; void altera_export_bool_array_count() { int offset; altera_export_bool_array_count_line = 0; if (altera_export_bool_array_count_line < 1) offset = r; altera_export_bool_array_count_k = 0; for (;;) { altera_export_bool_array_count_i = altera_export_bool_array_count_k + offset; if (altera_export_bool_array_count_i & 3) ; } }