gcc/gcc ChangeLog c-decl.c c-lang.c testsuite/ ...

jsm28@gcc.gnu.org jsm28@gcc.gnu.org
Mon Feb 12 09:31:00 GMT 2001


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jsm28@gcc.gnu.org	2001-02-12 09:31:43

Modified files:
	gcc            : ChangeLog c-decl.c c-lang.c 
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gcc.dg: c99-impl-int-1.c 
	gcc/testsuite/gcc.dg/cpp: digraphs.c 

Log message:
	* 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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.9244&r2=1.9245
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&r1=1.207&r2=1.208
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-lang.c.diff?cvsroot=gcc&r1=1.47&r2=1.48
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.1077&r2=1.1078
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/c99-impl-int-1.c.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/digraphs.c.diff?cvsroot=gcc&r1=1.1&r2=1.2



More information about the Gcc-cvs mailing list