egcs/gcc ChangeLog c-common.c testsuite/Change ...

jsm28@gcc.gnu.org jsm28@gcc.gnu.org
Mon Aug 21 07:22:00 GMT 2000


CVSROOT:	/cvs/gcc
Module name:	egcs
Changes by:	jsm28@sourceware.cygnus.com	2000-08-21 07:22:44

Modified files:
	gcc            : ChangeLog c-common.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: c90-scanf-1.c c94-scanf-1.c 

Log message:
	* c-common.c (scan_char_table): Add 'w' to flags for all formats
	except 'n'.
	(check_format_info): Set 'wide' for scanf format widths.  Warn for
	a zero scanf width.  Make the check for writing into a constant
	object at the first level of indirection; at later levels, warn if
	any type qualifiers are encountered.
	
	testsuite:
	* gcc.dg/c90-scanf-1.c, gcc.dg/c94-scanf-1.c: New tests.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.7475&r2=1.7476
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/c-common.c.diff?cvsroot=gcc&r1=1.135&r2=1.136
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.665&r2=1.666
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/gcc.dg/c90-scanf-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/gcc.dg/c94-scanf-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



More information about the Gcc-cvs mailing list