gcc/libcpp/include
Janis Johnson 839a3b8ab5 re PR target/39027 (double floating point suffix of 'd' and 'D' not accepted)
gcc/
	PR c/29027
	* c-lex.c (interpret_float): Default (no suffix) is double.

libcpp/
	PR c/29027
	* include/cpplib.h (CPP_N_DEFAULT): Define.
	* expr.c (interpret_float_suffix): Recognize d or D for double,
	return new value for default.
	(cpp_classify_number): Issue pedwarn for use of d or D in suffix.

gcc/testsuite/
	PR c/29027
	* gcc.dg/fltconst-1.c: Don't error for use of d or D in suffix.
	* gcc.dg/fltconst-2.c: New test.
	* gcc.dg/fltconst-double-pedantic-1.c: New test.
	* gcc.dg/fltconst-double-pedantic-2.c: New test.

From-SVN: r145422
2009-04-01 17:31:26 +00:00
..
cpp-id-data.h cpp-id-data.h (UC): Was U, conflicts with U... 2008-04-18 09:58:08 -04:00
cpplib.h re PR target/39027 (double floating point suffix of 'd' and 'D' not accepted) 2009-04-01 17:31:26 +00:00
line-map.h re PR preprocessor/34695 (Preprocessor warning->error conversion from -Werror is silent) 2009-03-29 23:56:07 +01:00
mkdeps.h all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
symtab.h symtab.h (HT_ALLOCED): Remove. 2008-05-21 15:00:59 +00:00