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 * cpplib.pot: Regenerate. 2009-03-28 06:57:06 +00:00
ChangeLog re PR target/39027 (double floating point suffix of 'd' and 'D' not accepted) 2009-04-01 17:31:26 +00:00
Makefile.in re PR preprocessor/34695 (Preprocessor warning->error conversion from -Werror is silent) 2009-03-29 23:56:07 +01:00
aclocal.m4
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 line-map.h (linenum_type): New typedef. 2008-07-21 09:33:38 +00:00
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 lex.c (lex_string): Return a CPP_LESS token for missing '>' in a header name. 2009-02-21 21:25:39 +00:00
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
makeucnid.c
mkdeps.c
pch.c re PR target/37033 (Revision 138733 breaks -g vs -g0 for PCH) 2008-12-10 17:31:07 +00:00
symtab.c
system.h
traditional.c line-map.h (linenum_type): New typedef. 2008-07-21 09:33:38 +00:00
ucnid.h
ucnid.tab