gcc/libcpp
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
..
include re PR target/39027 (double floating point suffix of 'd' and 'D' not accepted) 2009-04-01 17:31:26 +00:00
po
aclocal.m4
ChangeLog re PR target/39027 (double floating point suffix of 'd' and 'D' not accepted) 2009-04-01 17:31:26 +00:00
charset.c
config.in re PR preprocessor/31932 (cpp -f*-charset and gcj --encoding accept no values except UTF-8) 2009-03-30 20:54:18 +00:00
configure re PR preprocessor/31932 (cpp -f*-charset and gcj --encoding accept no values except UTF-8) 2009-03-30 20:54:18 +00:00
configure.ac re PR preprocessor/31932 (cpp -f*-charset and gcj --encoding accept no values except UTF-8) 2009-03-30 20:54:18 +00:00
directives-only.c
directives.c re PR preprocessor/34695 (Preprocessor warning->error conversion from -Werror is silent) 2009-03-29 23:56:07 +01:00
errors.c re PR preprocessor/34695 (Preprocessor warning->error conversion from -Werror is silent) 2009-03-29 23:56:07 +01:00
expr.c re PR target/39027 (double floating point suffix of 'd' and 'D' not accepted) 2009-04-01 17:31:26 +00:00
files.c re PR preprocessor/15638 (gcc should have option to treat missing headers as fatal) 2009-03-31 13:43:29 +01:00
identifiers.c
init.c re PR preprocessor/34695 (Preprocessor warning->error conversion from -Werror is silent) 2009-03-29 23:56:07 +01:00
internal.h re PR preprocessor/31932 (cpp -f*-charset and gcj --encoding accept no values except UTF-8) 2009-03-30 20:54:18 +00:00
lex.c
line-map.c re PR preprocessor/39512 (linemap_init in lex.c does not initialize reallocator) 2009-03-30 15:25:42 +00:00
macro.c re PR target/39558 (Bad interaction of decls named 'vector' and -maltivec vector support) 2009-03-30 17:00:52 +02:00
Makefile.in re PR preprocessor/34695 (Preprocessor warning->error conversion from -Werror is silent) 2009-03-29 23:56:07 +01:00
makeucnid.c
mkdeps.c
pch.c
symtab.c
system.h
traditional.c
ucnid.h
ucnid.tab