https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
--- Comment #31 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> --- There's something I don't understand: Whether -Wuninitialized or -Wmaybe-uninitialized is used, I don't see any difference in the behavior of GCC between [...] if (bar (i)) { baz (&j); } [...] and [...] if (bar (i)) { j = 1; } [...] In any case, no warnings are generated. So, the problem here is not related to whether the address of j is taken, but to something else. -- You are receiving this mail because: You are on the CC list for the bug.