https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71691
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The testcase looks invalid to me. In the second iteration of the outermost loop, l = 1, g = 0, so it compares uninitialized h with 7.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71691
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The testcase looks invalid to me. In the second iteration of the outermost loop, l = 1, g = 0, so it compares uninitialized h with 7.