https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82919

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |documentation
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-11-09
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |5.4.0, 6.4.0, 7.2.0, 8.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed with the top of trunk (GCC 8.0) back through to GCC 5.4.

$ cat c.c && gcc -S c.c
f (void)
{
  g ();
}
c.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 f (void)
 ^
c.c: In function ‘f’:
c.c:3:3: warning: implicit declaration of function ‘g’
[-Wimplicit-function-declaration]
   g ();
   ^

Reply via email to