2004-02-02 Eric Christopher <echristo@redhat.com>
commit57ba96e9654acb842670e49a4b8b21ab8ffaadc1
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Feb 2004 20:20:58 +0000 (2 20:20 +0000)
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Feb 2004 20:20:58 +0000 (2 20:20 +0000)
treeceb6203dee329b18b1ae6797a54fb24e65a13847
parent9daaf08e60ec775b71f2a4a4938456c3255299f4
2004-02-02  Eric Christopher  <echristo@redhat.com>
            Zack Weinberg  <zack@codesourcery.com>

        * c-opts.c (c_common_handle_option): Add -finput-charset.
        * c.opt: Ditto.
        * cppcharset.c (one_iso88591_to_utf8): Remove.
        (convert_iso88591_utf8): Ditto.
        (conversion_tab): Remove 8859-1 converter.
        (_cpp_input_to_utf8): Remove.
        (_cpp_init_iconv_buffer): Ditto.
        (_cpp_close_iconv_buffer): Ditto.
        (_cpp_convert_input): New function.
        (_cpp_default_encoding): Ditto.
        * cpphash.h: Add/remove prototypes for above.
        * cppfiles.c (read_file_guts): Use _cpp_convert_input.
        * cppinit.c (cpp_create_reader): Use _cpp_default_encoding
        for narrow execution and input character sets.
        * cpplib.c (cpp_push_buffer): Delete uses of removed functions.
        * doc/cppopts.texi: Document -finput-charset.

2004-02-02 Eric Christopher  <echristo@redhat.com>
           Zack Weinberg  <zack@codesourcery.com>

        * gcc.c-torture/execute/wchar_t-1.c: Add -finput-charset.

2004-01-29  Eric Christopher  <echristo@redhat.com>
            Zack Weinberg  <zack@codesourcery.com>

        * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use
        -finput-charset.
        * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto.
        * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto
        * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto.
        * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto.
        * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto.
        * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto.
        * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto.
        * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
        Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77136 138bc75d-0d04-0410-961f-82ee72b054a4
21 files changed:
gcc/ChangeLog
gcc/c-opts.c
gcc/c.opt
gcc/cppcharset.c
gcc/cppfiles.c
gcc/cpphash.h
gcc/cppinit.c
gcc/cpplib.c
gcc/doc/cppopts.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/wchar_t-1.c
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/22_locale/collate/compare/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/collate/hash/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
libstdc++-v3/testsuite/22_locale/collate/transform/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
libstdc++-v3/testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc