diff options
| author | Zack Weinberg <zack@gcc.gnu.org> | 2005-02-20 17:01:32 +0000 |
|---|---|---|
| committer | Zack Weinberg <zack@gcc.gnu.org> | 2005-02-20 17:01:32 +0000 |
| commit | c5ff069dc46eb81aa4c0732ea5e6f76a535474b2 (patch) | |
| tree | 60cdafb935d90504cac1d3437ff96f90d70b9c09 /libcpp/ChangeLog | |
| parent | 5920b5d2e8ead646a8cbb66847a4586b4db16ad6 (diff) | |
| download | gcc-c5ff069dc46eb81aa4c0732ea5e6f76a535474b2.tar.gz gcc-c5ff069dc46eb81aa4c0732ea5e6f76a535474b2.tar.bz2 gcc-c5ff069dc46eb81aa4c0732ea5e6f76a535474b2.zip | |
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
Diffstat (limited to 'libcpp/ChangeLog')
| -rw-r--r-- | libcpp/ChangeLog | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 0764fc8e4b3..5e6ad289e36 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,8 +1,15 @@ +2005-02-20 Zack Weinberg <zack@codesourcery.com> + + PR 18785 + * 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. + 2005-02-19 Devang Patel <dpatel@apple.com> * charset.c (_cpp_convert_input): Check '\r' before inserting '\n' at the end. - + 2005-02-15 Eric Christopher <echristo@redhat.com> PR preprocessor/19077 @@ -41,7 +48,7 @@ * include/cpplib.h (c_lang): Fix comment to say cpp_create_reader. * include/cpplib.h: Also update copyright years. - + 2005-01-03 Geoffrey Keating <geoffk@apple.com> * files.c (_cpp_find_file): Add files found by search_path_exhausted @@ -64,7 +71,7 @@ 2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org> - PR preprocessor/17610 + PR preprocessor/17610 * directives.c (do_include_common): Error out if an empty filename is given for #include (or #include_next or #import). @@ -87,7 +94,7 @@ * configure: Regenerate. 2004-11-23 Daniel Jacobowitz <dan@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> * internal.h (struct lexer_state): Add in_deferred_pragma. * directives.c (struct pragma_entry): Add allow_expansion. @@ -100,7 +107,7 @@ * include/cpplib.h (cpp_register_pragma): Update prototype. 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com> - Mark Mitchell <mark@codesourcery.com> + Mark Mitchell <mark@codesourcery.com> * configure.ac (i[34567]86-*-solaris2.1[0-9]*): Set need_64bit_hwint=yes. @@ -115,7 +122,7 @@ Remove local srcdir path from generated file. 2004-11-04 Zack Weinberg <zack@codesourcery.com> - Gerald Pfeifer <gerald@pfeifer.com> + Gerald Pfeifer <gerald@pfeifer.com> * internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H as well. |
