https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479
--- Comment #6 from Eyal Rozenberg <eyalroz at technion dot ac.il> --- Thanks to a friendly StackOverflow user, I should also report that (about) the same code produces the same compiler behavior disparity for proper C: https://godbolt.org/z/kVYqp8 with the slight modification being `void g(void)` instead of `void g()` in the function signatures.