Commit Graph

13 Commits

Author SHA1 Message Date
Paul Eggert
bb72a0843b This change is from an idea suggested by Arthur David Olson.
* c-common.c (decl_attributes, record_function_format,
	check_format_info, init_function_format_info):
	Add support for strftime format checking.
	(enum format_type): New type.
	(record_function_format): Now static, and takes value of type
	enum format_type instead of int.
	(time_char_table): New constant.
	(struct function_format_info): format_type member renamed from is_scan.
	(check_format_info): Use `warning' rather than sprintf followed by
	`warning', to avoid mishandling `%' in warnings.
	Change `pedwarn' to `warning', since these warnings do not necessarily
	mean the program does not conform to the C Standard, as the code
	need not be executed.
	* c-tree.h (record_function_format): Remove decl; no longer extern.
	* extend.texi: Add documentation for strftime format checking.

From-SVN: r19151
1998-04-12 13:52:16 -06:00
Jeff Law
e5e809f419 * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.

        * haifa-sched.c: Mirror recent changes from gcc2.

From-SVN: r18984
1998-04-04 06:32:39 -07:00
Jeff Law
f69eecfbd5 Fix mismatched parens.
From-SVN: r17471
1998-01-25 02:00:18 -07:00
Jeff Law
c85f7c16ad Bring in final gcc-2.8.0 changes.
From-SVN: r17355
1998-01-14 13:57:58 -07:00
Jeff Law
956d69504d Merge from gcc-2.8
From-SVN: r16987
1997-12-06 17:31:01 -07:00
Jeff Law
d863830b53 Add -frepo docs.
From-SVN: r16478
1997-11-13 18:56:51 -07:00
Jason Merrill
a4b3b54a70 Formerly extend.texi.~115~
From-SVN: r13993
1997-04-30 10:01:03 +00:00
Jason Merrill
469b759e8c Formerly extend.texi.~114~
From-SVN: r13976
1997-04-24 07:25:19 +00:00
Doug Evans
845da53434 Formerly extend.texi.~113~
From-SVN: r13782
1997-03-24 20:53:34 +00:00
Richard Kenner
af3e86c245 Formerly extend.texi.~112~
From-SVN: r13515
1997-01-19 14:27:06 -05:00
Brendan Kehoe
1cd4bca92c Formerly extend.texi.~110~
From-SVN: r12981
1996-10-21 07:27:51 -04:00
Richard Kenner
79188db9b4 Formerly extend.texi.~109~
From-SVN: r12929
1996-10-09 16:19:37 -04:00
Richard Kenner
c1f7febfcb Initial revision
From-SVN: r12786
1996-09-23 18:41:16 -04:00