* c-decl.c (grokdeclarator): In C99 mode, give the more specific
commit508469fee36069e92dc4b01adf6f0db001a71612
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Feb 2001 17:31:42 +0000 (12 17:31 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Feb 2001 17:31:42 +0000 (12 17:31 +0000)
tree1198d5daa5758bb57dfd972c4736717092539847
parenta6a4df66b06d5563c22185dd1065dc3b1355827c
* c-decl.c (grokdeclarator): In C99 mode, give the more specific
"return type defaults" warning for functions with return type
defaulting to int.
* c-lang.c (c_init): In C99 mode, enable warnings for implicit
function declarations by default rather than only when pedantic.

testsuite:
* gcc.dg/c99-impl-int-1.c: Use stricter error string for implicit
return type.
* gcc.dg/cpp/digraphs.c: Declare puts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39608 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/c-lang.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c99-impl-int-1.c
gcc/testsuite/gcc.dg/cpp/digraphs.c