summaryrefslogtreecommitdiff
path: root/libcpp
Commit message (Collapse)AuthorAgeFilesLines
* gcc:jsm282005-03-193-2/+8
| | | | | | | | | | | | | * config.gcc: Consistently use solaris2.1[0-9]* instead of solaris2.1[0-9]. libcpp: * configure.ac: Consistently use solaris2.1[0-9]* instead of solaris2.1[0-9]. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96743 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-03-15 Geoffrey Keating <geoffk@apple.com>geoffk2005-03-162-4/+13
| | | | | | | | | | | | | * charset.c (_cpp_valid_ucn): In identifiers, reject a partial UCN rather than printing an error. Index: gcc/testsuite/ChangeLog 2005-03-15 Geoffrey Keating <geoffk@apple.com> * gcc.dg/cpp/ucnid-7.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96546 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: libcpp/ChangeLoggeoffk2005-03-152-1/+6
| | | | | | | | | | | | | | 2005-03-14 Geoffrey Keating <geoffk@apple.com> * lex.c (forms_identifier_p): Disable UCNs in C89 mode. Index: gcc/testsuite/ChangeLog 2005-03-14 Geoffrey Keating <geoffk@apple.com> * gcc.dg/cpp/ucnid-6.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96475 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: gcc/ChangeLoggeoffk2005-03-1510-548/+1402
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-14 Geoffrey Keating <geoffk@apple.com> * doc/cppopts.texi (-fexec-charset): Add concept index entry. (-fwide-exec-charset): Likewise. (-finput-charset): Likewise. * doc/invoke.texi (Warning Options): Document -Wnormalized=. * c-opts.c (c_common_handle_option): Handle -Wnormalized=. * c.opt (Wnormalized): New. Index: libcpp/ChangeLog 2005-03-14 Geoffrey Keating <geoffk@apple.com> * init.c (cpp_create_reader): Default warn_normalize to normalized_C. * charset.c: Update for new format of ucnid.h. (ucn_valid_in_identifier): Update for new format of ucnid.h. Add NST parameter, and update it; update callers. (cpp_valid_ucn): Add NST parameter, update callers. Replace abort with cpp_error. (convert_ucn): Pass normalize_state to cpp_valid_ucn. * internal.h (struct normalize_state): New. (INITIAL_NORMALIZE_STATE): New. (NORMALIZE_STATE_RESULT): New. (NORMALIZE_STATE_UPDATE_IDNUM): New. (_cpp_valid_ucn): New. * lex.c (warn_about_normalization): New. (forms_identifier_p): Add normalize_state parameter, update callers. (lex_identifier): Add normalize_state parameter, update callers. Keep the state current. (lex_number): Likewise. (_cpp_lex_direct): Pass normalize_state to subroutines. Check it with warn_about_normalization. * makeucnid.c: New. * ucnid.h: Replace. * ucnid.pl: Remove. * ucnid.tab: Make appropriate for input to makeucnid.c. Remove comments about obsolete version of C++. * include/cpplib.h (enum cpp_normalize_level): New. (struct cpp_options): Add warn_normalize field. Index: gcc/testsuite/ChangeLog 2005-03-14 Geoffrey Keating <geoffk@apple.com> * gcc.dg/cpp/normalize-1.c: New. * gcc.dg/cpp/normalize-2.c: New. * gcc.dg/cpp/normalize-3.c: New. * gcc.dg/cpp/normalize-4.c: New. * gcc.dg/cpp/ucnid-4.c: New. * gcc.dg/cpp/ucnid-5.c: New. * g++.dg/cpp/normalize-1.C: New. * g++.dg/cpp/ucnid-1.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96459 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: libcpp/ChangeLoggeoffk2005-03-127-42/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-12 Geoffrey Keating <geoffk@apple.com> * directives.c (glue_header_name): Update call to cpp_spell_token. * internal.h (_cpp_interpret_identifier): New. * charset.c (_cpp_interpret_identifier): New. (_cpp_valid_ucn): Allow UCN version of '$'. * lex.c (lex_identifier): Add extra parameter to indicate if initial character was '$' or '\'. Support identifiers with UCNs. (forms_identifier_p): Allow UCNs. (_cpp_lex_direct): Pass extra parameter to lex_identifier. (utf8_to_ucn): New. (cpp_spell_token): Add FORSTRING parameter. Use it. (cpp_token_as_text): Update call to cpp_spell_token. (cpp_output_token): Write UCNs back out. (stringify_arg): Update call to cpp_spell_token. (paste_tokens): Likewise. (cpp_macro_definition): Likewise. * macro.c (stringify_arg): Likewise. (paste_tokens): Likewise. (cpp_macro_definition): Likewise. * include/cpplib.h: Add parameter to cpp_spell_token. Index: gcc/ChangeLog 2005-03-12 Geoffrey Keating <geoffk@apple.com> * c-lex.c (c_lex_with_flags): Add parameter to call to cpp_spell_token. Index: gcc/testsuite/ChangeLog 2005-03-12 Geoffrey Keating <geoffk@apple.com> * gcc.dg/ucnid-1.c: New. * gcc.dg/ucnid-2.c: New. * gcc.dg/ucnid-3.c: New. * gcc.dg/ucnid-4.c: New. * gcc.dg/ucnid-5.c: New. * gcc.dg/ucnid-6.c: New. * gcc.dg/cpp/ucnid-1.c: New. * gcc.dg/cpp/ucnid-2.c: New. * gcc.dg/cpp/ucnid-3.c: New. * g++.dg/other/ucnid-1.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96333 138bc75d-0d04-0410-961f-82ee72b054a4
* * tr.po: Update.jsm282005-03-043-9/+839
| | | | | | | * vi.po: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95898 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/20282jakub2005-03-042-2/+9
| | | | | | | | | PR bootstrap/20305 * macro.c (replace_args, cpp_get_token): Copy whole cpp_token_u instead of just cpp_string field from it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95887 138bc75d-0d04-0410-961f-82ee72b054a4
* * be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,jsm282005-03-0412-969/+1110
| | | | | | | sv.po, tr.po: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95861 138bc75d-0d04-0410-961f-82ee72b054a4
* * directives.c (do_line): Save sysp early before line table isdpatel2005-02-282-1/+11
| | | | | | | realloc'ed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95691 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpplib.pot: Regenerate.jsm282005-02-252-92/+122
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95560 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 18785zack2005-02-203-14/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95304 138bc75d-0d04-0410-961f-82ee72b054a4
* * charset.c (_cpp_convert_input): Check '\r' before insertingdpatel2005-02-192-1/+14
| | | | | | | | '\n' at the end. * gcc.dg/cpp/mac-eol-at-eof.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95289 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-15 Eric Christopher <echristo@redhat.com>echristo2005-02-152-4/+15
| | | | | | | | | | | | | | PR preprocessor/19077 * macro.c (cpp_macro_definition): Move handling of whitespace to PREV_WHITE conditional. Remove overloading of len variable. 2005-02-15 Eric Christopher <echristo@redhat.com> * gcc.dg/cpp/20050215-1.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95080 138bc75d-0d04-0410-961f-82ee72b054a4
* * directives.c, files.c, init.c, internal.h, macro.c, pch.c,kazu2005-02-148-7/+13
| | | | | | | traditional.c: Update copyright. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95012 138bc75d-0d04-0410-961f-82ee72b054a4
* include:bonzini2005-02-147-7/+179
| | | | | | | | | | | | | | | | | | | | | | 2005-02-08 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/19818 * ansidecl.h (PARAMS): Guard from redefinition. libcpp: 2005-02-08 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/19818 * configure.ac: Check for declaration of basename and getopt. * config.in: Regenerate. * configure: Regenerate. * internal.h (ustrcspn): New. * macro.c (create_iso_definition): Fix allocation of memory. (padding_token): Add cast to remove const-ness. * pch.c (cpp_read_state): Use ustrcspn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95003 138bc75d-0d04-0410-961f-82ee72b054a4
* * files.c (pchf_adder): Remove.mrs2005-02-092-57/+46
| | | | | | | | (struct pchf_adder_info): Likewise. (_cpp_save_file_entries): Write out all files so that #import works. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94755 138bc75d-0d04-0410-961f-82ee72b054a4
* config:jsm282005-01-232-1/+9
| | | | | | | | | | | | | | | | * warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do anything for non-GCC compilers. libcpp: * configure: Regenerate. gcc: PR bootstrap/18058 * recog.c (recog_memoized): Don't define if GENERATOR_FILE. * ggc-none.c (ggc_free): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94123 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/cpplib.h: Also update copyright years.tobi2005-01-112-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93191 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/cpplib.h (c_lang): Fix comment to say cpp_create_reader.tobi2005-01-112-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93190 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: libcpp/ChangeLoggeoffk2005-01-042-1/+14
| | | | | | | | | | | | | | | | | | | | 2005-01-03 Geoffrey Keating <geoffk@apple.com> * files.c (_cpp_find_file): Add files found by search_path_exhausted to the list of all files. Index: gcc/testsuite/ChangeLog 2005-01-03 Geoffrey Keating <geoffk@apple.com> Robert Bowdidge <bowdidge@apple.com> * gcc.dg/cpp/subframework1.c: New. * gcc.dg/cpp/frame/one.framework/Frameworks/OneSub.framework/Headers/A.h: New. * gcc.dg/cpp/frame/one.framework/Frameworks/OneSub.framework/Headers/B.h: New. * gcc.dg/cpp/frame/one.framework/Frameworks/OneSub.framework/Headers/C.h: New. * gcc.dg/cpp/frame/one.framework/Headers/one-includeSubs.h: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92883 138bc75d-0d04-0410-961f-82ee72b054a4
* * internal.h: Update references to Cpp lib filenames.gdr2005-01-026-21/+29
| | | | | | | | | | * directives.c: Likewise. * init.c: Likewise. * macro.c: Likewise. * traditional.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92799 138bc75d-0d04-0410-961f-82ee72b054a4
* * fr.po: Update.jsm282004-12-152-6/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92224 138bc75d-0d04-0410-961f-82ee72b054a4
* PR preprocessor/15167ebotcazou2004-12-152-6/+50
| | | | | | | | | * files.c (destroy_cpp_file): New function. (should_stack_file): Make a new file if the compared file is still stacked. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92194 138bc75d-0d04-0410-961f-82ee72b054a4
* * tr.po: Update.jsm282004-12-042-24/+30
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91726 138bc75d-0d04-0410-961f-82ee72b054a4
* * es.po: Update.jsm282004-12-022-19217/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91640 138bc75d-0d04-0410-961f-82ee72b054a4
* * be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,jsm282004-12-0212-4173/+104767
| | | | | | | sv.po, tr.po: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91591 138bc75d-0d04-0410-961f-82ee72b054a4
* (libcpp)neroden2004-11-282-0/+14
| | | | | | | | | | | | | PR preprocessor/17610 * directives.c (do_include_common): Error out if an empty filename is given for #include (or #include_next or #import). (gcc) PR preprocessor/17610 * testsuite/gcc.dg/cpp/empty-include.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91428 138bc75d-0d04-0410-961f-82ee72b054a4
* * internal.h: Replace all uses of uchar with unsigned char.sayle2004-11-273-46/+59
| | | | | | | | * include/cpp-id-data.h: Likewise. Guard typedef of uchar with !IN_GCC, so uchar is only defined whilst building libcpp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91394 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpplib.pot: Regenerate.jsm282004-11-272-48/+52
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91388 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-242-1/+5
| | | | | | | * aclocal.m4: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91199 138bc75d-0d04-0410-961f-82ee72b054a4
* PR preprocessor/15824sayle2004-11-243-4/+9
| | | | | | | | | * configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h> directly, instead of the non-existant "system.h" and "ansidecl.h". * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91157 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:jsm282004-11-234-16/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-23 Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * config/sol2-c.c (solaris_register_pragmas): Use c_register_pragma_with_expansion. * config/sol2.h (HANDLE_PRAGMA_PACK_WITH_EXPANSION): Define. * c-pragma.c (c_register_pragma): Update call to cpp_register_pragma. (c_register_pragma_with_expansion): New function. (init_pragma): Honor HANDLE_PRAGMA_PACK_WITH_EXPANSION. * c-pragma.h (c_register_pragma_with_expansion): New prototype. * doc/extend.texi (Solaris Pragmas): Mention macro expansion for #pragma align. * doc/tm.texi (c_register_pragma_with_expansion, HANDLE_PRAGMA_PACK_WITH_EXPANSION): Document. gcc/testsuite: 2004-11-23 Daniel Jacobowitz <dan@codesourcery.com> * gcc.dg/pragma-align-2.c: Test macro expansion. * gcc.dg/pragma-pack-2.c: New test. libcpp: 2004-11-23 Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * internal.h (struct lexer_state): Add in_deferred_pragma. * directives.c (struct pragma_entry): Add allow_expansion. (insert_pragma_entry): Take allow_expansion flag. (register_pragma): Likewise. (cpp_register_pragma): Likewise. (_cpp_init_internal_pragmas): Update calls to cpp_register_pragma. (do_pragma): Honor allow_expansion. (cpp_handle_deferred_pragma): Set in_deferred_pragma. * include/cpplib.h (cpp_register_pragma): Update prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91117 138bc75d-0d04-0410-961f-82ee72b054a4
* libcpp:jsm282004-11-183-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com> Mark Mitchell <mark@codesourcery.com> * configure.ac (i[34567]86-*-solaris2.1[0-9]*): Set need_64bit_hwint=yes. * configure: Regenerate. gcc: 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com> Mark Mitchell <mark@codesourcery.com> * config/i386/sol2-10.h, config/i386/t-sol2-10: New files. * config/i386/i386.c (i386_solaris_elf_named_section): New function. * config.gcc (i[34567]86-*-solaris2*): Handle Solaris 2.10. * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Handle 64-bit. (ASM_QUAD): Don't undefine for biarch targets. * config/i386/t-sol2: Introduce multilib support. gcc/testsuite: 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com> Mark Mitchell <mark@codesourcery.com> * testsuite/gcc.dg/pragma-init-fini-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90839 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpplib.pot: Regenerate.jsm282004-11-092-329/+375
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90369 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in ($(PACKAGE).pot): New rule. Depend onjsm282004-11-092-3/+16
| | | | | | | | | | po/$(PACKAGE).pot. (po/$(PACKAGE).pot): Use ":" instead of "," in --keyword arguments. Add keywords _, N_, SYNTAX_ERROR and SYNTAX_ERROR2. Remove local srcdir path from generated file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90368 138bc75d-0d04-0410-961f-82ee72b054a4
* * internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_Hgerald2004-11-042-1/+11
| | | | | | | as well. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90079 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 18075zack2004-10-272-31/+41
| | | | | | | | * directives.c (do_pragma): Do not defer pragmas which are unknown. (cpp_handle_deferred_pragma): Add cast to silence warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89693 138bc75d-0d04-0410-961f-82ee72b054a4
* libcpp:jsm282004-10-142-0/+6
| | | | | | | | | | * errors.c (_cpp_begin_message): Print "error: " for errors. gcc/testsuite: * gcc.dg/cpp/error-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89025 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove extra whitespace.aj2004-10-111-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88871 138bc75d-0d04-0410-961f-82ee72b054a4
* * makedepend.c: Include mkdeps.h for prototype of deps_add_vpath.aj2004-10-113-1/+7
| | | | | | | * Makefile.in (makedepend.o): Add dependency on mkdeps.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88870 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-10-082-5/+7
| | | | | | | | | * pch.c (cpp_write_pch_state): Remove variable z as it is not used. (cpp_read_state): Remove unused variables, m, d and mac_count. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88748 138bc75d-0d04-0410-961f-82ee72b054a4
* * directives.c (cpp_handle_deferred_pragma): Save, clear and restorebothner2004-09-302-0/+10
| | | | | | | | cb.line_change. Otherwise do_pragma will call the line_change call-back with a meaningless line number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88320 138bc75d-0d04-0410-961f-82ee72b054a4
* config:zack2004-09-246-13/+205
| | | | | | | | | | | | | | | | | | | | * warnings.m4: New file. libcpp: * configure.ac: Move AC_PROG_MAKE_SET, AC_PROG_INSTALL to programs cluster. Use ACX_PROG_CC_WARNING_OPTS, ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_PROG_CC_WARNINGS_ARE_ERRORS. * aclocal.m4, configure: Regenerate. * init.c: Include localedir.h. * Makefile.in (WARN_CFLAGS, ALL_CFLAGS): New variables. (DEFS): Delete. (.c.o): Use $(ALL_CFLAGS). (localedir.h, localedir.hs): New rules. (clean): Use rm -rf to remove directories. (distclean): Also delete localedir.h and localedir.hs. (init.o): Update dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88074 138bc75d-0d04-0410-961f-82ee72b054a4
* config/kcook2004-09-225-964/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * gettext-sister.m4: Renamed from gettext.m4 * codeset.m4, gettext.m4, glibc21.m4, iconv.m4, intdiv0.m4, po.m4, inttypes.m4, inttypes-pri.m4, inttypes_h.m4, lcmessage.m4, lib-ld.m4, lib-link.m4, lib-prefix.m4, nls.m4, progtest.m4, stdint_h.m4, uintmax_t.m4, ulonglong.m4: Import from gettext-0.12.1 sources. gcc/ 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * aclocal.m4: Update for rename of gettext-sister.m4. libcpp/ 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in (aclocal.m4): Update dependencies. * configure.ac (AC_CONFIG_MACRO_DIR): New. * aclocal.m4, configure: Regenerate. intl/ 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * configure.ac (AC_CONFIG_MACRO_DIR): New. (ACLOCAL, AUTOCONF, AUTOHEADER, MAINT): Substitute. * Makefile.in: Update with maintainer mode rules. * README: Update aclocal regeneration instructions. * aclocal.m4, configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87900 138bc75d-0d04-0410-961f-82ee72b054a4
* * charset.c (_cpp_destroy_iconv, emit_numeric_escape)zack2004-09-182-6/+26
| | | | | | | | (_cpp_convert_input, _cpp_default_encoding): Add comments. Some other comments in this file also tweaked. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87688 138bc75d-0d04-0410-961f-82ee72b054a4
* * directives.c (do_pragma): Save current buffer positionzack2004-09-182-3/+12
| | | | | | | | before lexing the pragma keywords; don't call _cpp_backup_tokens in the defer_pragmas case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87687 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/line-map.h (line_map_start): Add parameter names sobothner2004-09-152-3/+8
| | | | | | | | preceding comment makes sense. (linemap_add): Remove from comment mention of non-existing parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87561 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-09 Matt Austern <austern@apple.com>zack2004-09-096-120/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Zack Weinberg <zack@codesourcery.com> * include/cpplib.h (TTYPE_TABLE): Remove CPP_ and SPELL_ prefixes throughout. Add entry for PRAGMA. Remove unnecessary "= 0" from EQ. (enum cpp_ttype): Adjust OP and TK definitions to restore prefixes, via token-paste. (CPP_LAST_EQ, CPP_FIRST_DIGRAPH, CPP_LAST_PUNCTUATOR, CPP_LAST_CPP_OP): Change from #defines to additional cpp_ttype enumerators. (struct cpp_options): Add defer_pragmas. (cpp_handle_deferred_pragma): Prototype new interface. * internal.h (struct cpp_reader): Add directive_result. * directives.c (struct pragma_entry): Add is_internal field; give boolean fields type bool. (start_directive): Initialize pfile->directive_result.type. (_cpp_do__Pragma): Likewise. (run_directive): Do not crash if pfile->buffer->prev is NULL. (insert_pragma_entry): Add 'internal' argument; set new->is_internal from it. (register_pragma): New static function, bulk of former cpp_register_pragma here; add 'internal' argument, pass along to insert_pragma_entry. (cpp_register_pragma): Now a wrapper around register_pragma which always passes false for 'internal' argument. (_cpp_init_internal_pragmas): Call register_pragma directly, passing true for 'internal'. (do_pragma): If CPP_OPTION (pfile, defer_pragmas) and this isn't an internal pragma, save text till the end of the line as a CPP_PRAGMA token instead of executing the pragma. (cpp_handle_deferred_pragma): New interface. * lex.c (token_spellings): Adjust OP and TK definitions to match changes to cpplib.h. (_cpp_lex_token): Check for a directive-result token and return it if present. (cpp_token_val_index): Handle CPP_PRAGMA. * macro.c (cpp_builtin_macro_text): Correct comment. (builtin_macro): Handle directive-result tokens from _cpp_do__Pragma. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87247 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-06 Serge Belyshev <belyshev@lubercy.com>bonzini2004-09-062-3/+9
| | | | | | | | | PR preprocessor/14699 * symtab.c (ht_dump_statistics): Change type of sum_of_squares from size_t to double. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87116 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Set PACKAGE correctly.aj2004-08-283-57/+114
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86698 138bc75d-0d04-0410-961f-82ee72b054a4