gcc/libcpp
Uros Bizjak c77cd3d140 cpplib.h (CPP_N_WIDTH_MD, [...]): Add new constants.
libcpp/ChangeLog:

	* include/cpplib.h (CPP_N_WIDTH_MD, CPP_N_MD_W, CPP_N_MD_Q):
	Add new constants.
	* expr.c (interpret_float_suffix): Process 'w', 'W', 'q' and 'Q'
	suffixes.  Return CPP_N_MD_W for 'w' or 'W' suffixes and CPP_N_MD_Q
	for 'q' or 'Q' suffixes.

gcc/ChangeLog:

	* targhooks.h (default_mode_for_suffix): New function declaration.
	* targhooks.c (default_mode_for_suffix): New default target hook.
	* target.h (struct c): New structure in the targetm struct.
	(mode_for_suffix): New target hook as part of struct c.
	target-def.h (TARGET_C_MODE_FOR_SUFFIX): Define as
	default_mode_for_suffix.
	(TARGET_C): New define.
	* c-lex.c: Include "target.h".
	(interpret_float): Use targetm.c.mode_for_suffix to determine
	the mode for a given non-standard suffix.
	Makefile.in (c-lex.o): Depend on $(TARGET_H).

	* config/i386/i386.c (ix86_c_mode_for_suffix): New static function.
	(TARGET_C_MODE_FOR_SUFFIX): Define to ix86_c_mode_for_suffix.

	* doc/extend.texi (Floating Types): New node.  Document __float80 and
	__float128 types.  Document 'w', 'W', 'q' and 'Q' suffixes.

testsuite/ChangeLog:

	* gcc.dg/const-float80.c : New test.
	* gcc.dg/const-float128.c : New test.
	* gcc.dg/const-float80-ped.c : New test.
	* gcc.dg/const-float128-ped.c : New test.

From-SVN: r126244
2007-07-03 07:53:58 +02:00
..
include cpplib.h (CPP_N_WIDTH_MD, [...]): Add new constants. 2007-07-03 07:53:58 +02:00
po be.po, [...]: Update. 2007-06-26 21:05:37 +01:00
aclocal.m4
ChangeLog cpplib.h (CPP_N_WIDTH_MD, [...]): Add new constants. 2007-07-03 07:53:58 +02:00
charset.c re PR preprocessor/30001 (out-of-bounds access when processing empty file) 2006-12-28 18:45:48 +00:00
config.in
configure depstand.m4 (ZW_CREATE_DEPDIR): Use mkinstalldirs to make directory. 2007-01-27 19:50:38 +00:00
configure.ac configure.in (skipdirs): Don't build target-libiberty for SPU. 2006-11-21 01:35:42 +00:00
directives.c make alloca call type correct 2007-03-30 22:40:19 +00:00
errors.c cp-tree.h (cp_cpp_error), [...]): Take va_list* parameter. 2005-11-04 01:16:32 +00:00
expr.c cpplib.h (CPP_N_WIDTH_MD, [...]): Add new constants. 2007-07-03 07:53:58 +02:00
files.c cppfiles.c (open_file): Correct typo. 2007-06-17 23:15:58 +00:00
identifiers.c
init.c macro.c (_cpp_builtin_macro_text): Handle BT_COUNTER. 2007-05-24 20:55:36 +00:00
internal.h macro.c (_cpp_builtin_macro_text): Handle BT_COUNTER. 2007-05-24 20:55:36 +00:00
lex.c re PR preprocessor/14331 (please add option to suppress warning message "no newline at end of file") 2007-05-31 02:06:48 +00:00
line-map.c
macro.c macro.c (_cpp_builtin_macro_text): Handle BT_COUNTER. 2007-05-24 20:55:36 +00:00
makedepend.c
Makefile.in * Makefile.in: Add dummy install-pdf target. 2007-03-01 15:56:24 -08:00
makeucnid.c
mkdeps.c re PR preprocessor/30468 (-M not fully chops dirname) 2007-01-30 15:50:00 +00:00
pch.c Fixup whitespacing 2007-06-01 02:12:37 +00:00
symtab.c
system.h
traditional.c
ucnid.h
ucnid.tab