gcc/libcpp
Jakub Jelinek 8e680db5b6 cpplib.h (struct cpp_callbacks): Add user_builtin_macro callback.
* include/cpplib.h (struct cpp_callbacks): Add user_builtin_macro
	callback.
	(enum cpp_builtin_type): Add BT_FIRST_USER and BT_LAST_USER.
	(cpp_macro_definition): Remove const qual from second argument.
	* macro.c (enter_macro_context): Call user_builtin_macro callback for
	NODE_BUILTIN !NODE_USED macros.
	(warn_of_redefinition): Likewise.  Remove const qual from second
	argument.
	(cpp_macro_definition): Likewise.
	* pch.c (write_macdef, save_macros): Call user_builtin_macro callback
	for NODE_BUILTIN !NODE_USED macros.

	* c-family/c-cppbuiltin.c: Include cpp-id-data.h.
	(lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
	(lazy_hex_fp_value): New function.
	(builtin_define_with_hex_fp_value): Provide definitions lazily.
	* Makefile.in (c-family/c-cppbuiltin.o): Depend on $(CPP_ID_DATA_H).

From-SVN: r160626
2010-06-11 20:37:34 +02:00
..
include cpplib.h (struct cpp_callbacks): Add user_builtin_macro callback. 2010-06-11 20:37:34 +02:00
po * fi.po: New. 2010-05-15 02:06:29 +01:00
aclocal.m4 Undo inadvertent commit in rev 160105. 2010-06-01 10:20:24 -04:00
ChangeLog cpplib.h (struct cpp_callbacks): Add user_builtin_macro callback. 2010-06-11 20:37:34 +02:00
charset.c diagnostic.h (diagnostic_override_option_index): New macro to set a diagnostic's option_index. 2010-04-07 17:18:10 +00:00
config.in re PR bootstrap/42798 (--enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12)) 2010-06-03 06:45:02 +00:00
configure re PR bootstrap/44432 ([boot with C++] configure does not check presence of host C++ compiler) 2010-06-09 11:32:23 +01:00
configure.ac re PR bootstrap/44432 ([boot with C++] configure does not check presence of host C++ compiler) 2010-06-09 11:32:23 +01:00
directives-only.c
directives.c diagnostic.h (diagnostic_override_option_index): New macro to set a diagnostic's option_index. 2010-04-07 17:18:10 +00:00
errors.c diagnostic.h (diagnostic_override_option_index): New macro to set a diagnostic's option_index. 2010-04-07 17:18:10 +00:00
expr.c diagnostic.h (diagnostic_override_option_index): New macro to set a diagnostic's option_index. 2010-04-07 17:18:10 +00:00
files.c re PR preprocessor/43195 (#pragma once and -H) 2010-04-09 16:08:42 +00:00
identifiers.c
init.c common.opt (fshow-column): Don't mark as C ObjC C++ ObjC++. 2010-06-10 16:10:11 +01:00
internal.h More N3077 raw string changes 2010-03-29 16:07:29 -04:00
lex.c diagnostic.h (diagnostic_override_option_index): New macro to set a diagnostic's option_index. 2010-04-07 17:18:10 +00:00
line-map.c re PR preprocessor/41543 (BUILTINS_LOCATION wrong with -fpreprocessed) 2009-10-14 12:04:22 +02:00
macro.c cpplib.h (struct cpp_callbacks): Add user_builtin_macro callback. 2010-06-11 20:37:34 +02:00
Makefile.in diagnostic.h (diagnostic_override_option_index): New macro to set a diagnostic's option_index. 2010-04-07 17:18:10 +00:00
makeucnid.c
mkdeps.c
pch.c cpplib.h (struct cpp_callbacks): Add user_builtin_macro callback. 2010-06-11 20:37:34 +02:00
symtab.c directives.c (do_linemarker, do_line): Use CPP_STRING for ignored enum value. 2009-07-18 03:22:16 +00:00
system.h
traditional.c
ucnid.h
ucnid.tab