https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69377
--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Note that this and the original testcase trigger p.c: In function ‘foo’: p.c:92:1: warning: control reaches end of non-void function so I remember adding "return &a;" at the end of foo (it still triggers the bug).