egcs/gcc ChangeLog c-common.c c-decl.c c-lex.c ...

rth@cygnus.com rth@cygnus.com
Tue Dec 1 21:05:00 GMT 1998


CVSROOT:	/egcs/carton/cvsfiles
Module name:	egcs
Changes by:	rth@egcs.cygnus.com	98/12/01 21:05:19

Modified files:
	gcc            : ChangeLog c-common.c c-decl.c c-lex.c c-parse.c 
	                 c-parse.in c-parse.y cccp.c extend.texi 
	                 fold-const.c gcc.c real.c real.h reorg.c 
	                 toplev.c 
	gcc/objc       : objc-parse.c objc-parse.y 

Log message:
	* c-common.c (declare_function_name): Declare predefinied variable
	`__func__'.
	
	* c-decl.c (flag_isoc9x): Set to 1 by default.
	(c_decode_option): Handle -std= option.  Remove -flang-isoc9x.
	(grokdeclarator): Always emit warning about implicit int for ISO C 9x.
	
	* c-parse.in: Allow constructors in ISO C 9x.
	Rewrite designator list handling.
	Allow [*] parameters.
	Don't warn about comma at end of enum definition for ISO C 9x.
	
	* cccp.c (c9x): New variable.
	(rest_extension): New variable.
	(print_help): Document new -std= option.
	(main): Recognize -std= option.  Set c9x appropriately.
	(create_definition): Recognize ISO C 9x vararg macros.
	
	* gcc.c (default_compilers): Adjust specs for -std options.
	(option_map): Add --std.
	(display_help): Document -std.
	
	* toplev.c (documented_lang_options): Add -std and remove
	-flang-isoc9x.
	
	* c-lex.c (yylex): Recognize hex FP constants and call REAL_VALUE_ATOF
	or REAL_VALUE_HTOF based on base of the constants.
	* fold-const.c (real_hex_to_f): New function.  Replacement function
	for hex FP conversion if REAL_ARITHMETIC is not defined.
	* real.c (asctoeg): Add handling of hex FP constants.
	* real.h: Define REAL_VALUE_HTOF if necessary using ereal_atof or
	real_hex_to_f.




More information about the Gcc-cvs mailing list