gcc/libcpp
Zack Weinberg c5ff069dc4 re PR middle-end/18785 (isdigit builtin function fails with EBCDIC character sets)
PR 18785
libcpp:
	* charset.c (LAST_POSSIBLY_BASIC_SOURCE_CHAR): New helper macro.
	(cpp_host_to_exec_charset): New function.
	* include/cpplib.h: Declare cpp_host_to_exec_charset.

gcc:
	* langhooks.h (struct lang_hooks): Add to_target_charset.
	* langhooks.c (lhd_to_target_charset): New function.
	* langhooks-def.h: Declare lhd_to_target_charset.
	(LANG_HOOKS_TO_TARGET_CHARSET): New macro.
	(LANG_HOOKS_INITIALIZER): Update.
	* c-common.c (c_common_to_target_charset): New function.
	* c-common.h: Declare it.
	* c-objc-common.h (LANG_HOOKS_TO_TARGET_CHARSET): Set to
	c_common_to_target_charset.

	* defaults.c (TARGET_BELL, TARGET_BS, TARGET_CR, TARGET_DIGIT0)
	(TARGET_ESC, TARGET_FF, TARGET_NEWLINE, TARGET_TAB, TARGET_VT):
	Delete definitions.
	* system.h: Poison them.
	* doc/tm.texi: Don't discuss them.
	* builtins.c (fold_builtin_isdigit): Use lang_hooks.to_target_charset.
	* c-pretty-print.c (pp_c_integer_constant): Don't use pp_c_char.
	(pp_c_char): Do not attempt to generate letter escapes for
	newline, tab, etc.
	* config/arm/arm.c (output_ascii_pseudo_op): Likewise.
	* config/mips/mips.c (mips_output_ascii): Likewise.
gcc/cp:
	* cp-objcp-common.h (LANG_HOOKS_TO_TARGET_CHARSET): Set to
	c_common_to_target_charset.  Delete bogus comment.
gcc/testsuite:
	* gcc.dg/charset/builtin1.c: New test.

From-SVN: r95304
2005-02-20 17:01:32 +00:00
..
include re PR middle-end/18785 (isdigit builtin function fails with EBCDIC character sets) 2005-02-20 17:01:32 +00:00
po * fr.po: Update. 2004-12-15 22:29:31 +00:00
.cvsignore configure.ac: Don't invoke ACX_HEADER_STDBOOL. 2004-06-12 05:53:54 +00:00
aclocal.m4 aclocal.m4: Regenerate. 2004-11-24 21:53:28 +00:00
ChangeLog re PR middle-end/18785 (isdigit builtin function fails with EBCDIC character sets) 2005-02-20 17:01:32 +00:00
charset.c re PR middle-end/18785 (isdigit builtin function fails with EBCDIC character sets) 2005-02-20 17:01:32 +00:00
config.in re PR bootstrap/19818 (GCC 4.0 cannot bootstrap itself) 2005-02-14 08:52:24 +00:00
configure re PR bootstrap/19818 (GCC 4.0 cannot bootstrap itself) 2005-02-14 08:52:24 +00:00
configure.ac re PR bootstrap/19818 (GCC 4.0 cannot bootstrap itself) 2005-02-14 08:52:24 +00:00
directives.c directives.c, [...]: Update copyright. 2005-02-14 14:43:56 +00:00
errors.c errors.c (_cpp_begin_message): Print "error: " for errors. 2004-10-14 01:56:22 +01:00
expr.c re PR preprocessor/16192 (Bug in expression evaluation when operand is missing) 2004-07-04 12:57:50 +00:00
files.c directives.c, [...]: Update copyright. 2005-02-14 14:43:56 +00:00
identifiers.c
init.c directives.c, [...]: Update copyright. 2005-02-14 14:43:56 +00:00
internal.h directives.c, [...]: Update copyright. 2005-02-14 14:43:56 +00:00
lex.c cpplib.h (TTYPE_TABLE): Remove CPP_ and SPELL_ prefixes throughout. 2004-09-09 19:16:56 +00:00
line-map.c
macro.c re PR preprocessor/19077 (Internal compiler error compiling MPlayer) 2005-02-15 23:18:04 +00:00
makedepend.c Remove extra whitespace. 2004-10-11 07:29:17 +02:00
Makefile.in Makefile.in ($(PACKAGE).pot): New rule. 2004-11-09 21:58:43 +00:00
mkdeps.c Makefile.am: Add makedepend. 2004-06-05 20:58:06 +00:00
pch.c directives.c, [...]: Update copyright. 2005-02-14 14:43:56 +00:00
symtab.c re PR preprocessor/14699 (abort() in hashtable.c in approx_sqrt() with -fmem-report) 2004-09-06 13:22:48 +00:00
system.h configure.ac: Don't invoke ACX_HEADER_STDBOOL. 2004-06-12 05:53:54 +00:00
traditional.c directives.c, [...]: Update copyright. 2005-02-14 14:43:56 +00:00
ucnid.h
ucnid.pl
ucnid.tab