📄 fsfchangelog
字号:
* function.c (find_fixup_replacement): Consider equivalent if
rtx_equal_p, not just same rtx.
* reload.h (last_output_reload_regno): New declaration.
* reload.c (find_reloads): No longer make it static and get last value.
* reload1.c (last_output_reload_regno): New definition.
(reload): Initialize it before each scan.
(reload_as_needed): Likewise, and also when insn has no reloads.
* combine.c (simplify_comparison, case AND): Properly check for
SUBREG of a low part and exclude paradoxcal SUBREG, not low part,
for non-WORD_REGISTER_OPERATIONS machines.
* expr.c (get_inner_reference): Fix typo in last change.
Mon Sep 27 21:34:00 1998 Paul Eggert <eggert@twinsun.com>
* po/en_UK.po (Project-Id-Version): Set to cc 2.8.1.19980813 for now.
(PO-Revision-Date): Set to the current date.
Sun Sep 27 07:33:18 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* m68k/vxm68k.h (LINK_SPEC): Always use -r.
(WIDEST_HARDWARE_FP_SIZE): Define.
* reload.c (push_reload): If in STRICT_LOW_PART, always reload
inside even if SUBREG_WORD is not zero.
* flow.c (print_rtl_with_bb): Don't say not in basic block if we
aren't making basic blocks.8
Sat Sep 26 10:57:09 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* function.c (optimize_bit_field): Don't remove SUBREG from dest
if SUBREG_REG is multi-word.
Wed Sep 23 05:43:23 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* reload.c (find_reloads_address): Deal with address which is
an AND; clean up return values some more.
Fri Sep 11 13:02:26 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* function.c (purge_addressof_1): Properly copy flags when making MEM.
Mon Sep 7 18:33:06 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expr.c (get_inner_reference): If not COMPONENT_REF or BITFIELD_REF
and mode is BLKmode, set size_tree.
* expr.c (expand_builtin, case BUILT_IN_LONGJMP): Fix typo in
last change.
Wed Sep 2 15:38:01 1998 Paul Eggert <eggert@twinsun.com>
* libgcc2.c (__floatdisf): Use signed comparison to test
whether u is close to zero; unsigned comparison is not what's
wanted here.
Mon Aug 17 02:19:30 1998 David Edelsohn <edelsohn@mhpcc.edu>
* xcoffout.c (UNKNOWN_STAB): Fix typo in previous change; missing
backslash before newline.
Mon Aug 17 00:12:42 1998 Paul Eggert <eggert@twinsun.com>
* reorg.c (check_annul_list_true_false): Fix typo in Jul 17 change.
Sun Aug 2 01:10:15 1998 Paul Eggert <eggert@twinsun.com>
Add Native Language Support.
* intl/*, mkinstalldirs, po/*, exgettext, intl.c, intl.h: New files.
* Makefile.in (AWK, datadir, localedir, top_builddir): New variables.
(USE_NLS, INTLLIBS, POSUB, INTL_SUBDIRS, HOST_INTLLIBS): Likewise.
(PREPEND_DOTDOT_TO_RELATIVE_PATHS, SUBDIR_FLAGS_TO_PASS): Likewise.
(GCC_OBJS, COLLECT2_OBJS, CCCP_OBJS, CPPMAIN_OBJS): Likewise.
(PROTO_OBJS, GCOV_OBJS, INTL_DISTCLEAN, GEN_PROTOS_OBJS): Likewise.
(LIBDEPS, LIBS): Add $(INTLLIBS).
(HOST_LIBDEPS, HOST_LIBS): Add $(HOST_INTLLIBS).
(LIBS): Add @LIBS@.
(ORDINARY_FLAGS_TO_PASS): New var, containing all the old values
from FLAGS_TO_PASS, except for CC.
(FLAGS_TO_PASS): Pass datadir, distdir, localedir.
(OBJS): Add intl.o.
(GEN): Add gencheck.
(STAGESTUFF): Add tree-check.h, gencheck$(exeext).
(native): Depend on intl.all.
(xgcc, collect2, cccp, cppmain, {,un}protoize, gcov): Link intl.o.
(c-typeck.o, c-lex.o, collect2.o, gcc.o, toplev.o): Depend on intl.h.
(integrate.o, final.o, cccp.o, cppmain.o, cpplib.o): Likewise.
(cpperror.o, s-proto, gcov.o): Likewise.
(gencheck): Depend on $(HOST_LIBDEPS) instead of tree.h and tree.def.
(gencheck.o, intl.o, $(top_builddir)/intl/libintl.a): New rules.
($(srcdir)/cp/parse.c, intl.all, intl.install): Likewise.
(intl.uninstall, intl.distdir, intl.mostlyclean, intl.clean): Likewise.
(intl.distclean, intl.maintainer-clean, intl.distdir-fixup): Likewise.
(distdir-check): Likewise.
(gen-protos): Link cpperror.o, cppexp.o, cpphash.o, cpplib.o,
prefix.o, version.o; needed for `cpp_notice'.
(mostlyclean): Depend on intl.mostlyclean.
(clean): Depend on intl.clean.
(distclean): Depend on intl.disclean, unless the invoker defines
INTL_DISTCLEAN to be empty. Remove intl/libintl.h and libintl.h.
(maintainer-clean): Make intl.maintainer-clean, but define
INTL_DISTCLEAN to be empty.
(install-normal): Depend on intl.install.
(uninstall): Depend on intl.uninstall.
(distdir-start): Make sure invoker configured with --enable-nls.
Use $(AWK), not awk. Make tmp/intl and tmp/po directories.
(distdir-finish): Make distdir-check at the end.
(distdir): Depend on intl.distdir, intl.distdir-fixup.
(compare, compare3, gnucompare, gnucompare3): Handle intl subdirectory.
(stage1-start, stage2-start, stage3-start, stage4-start): Likewise.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT): New macros.
(HAVE_LC_MESSAGES, HAVE_STPCPY, PACKAGE, VERSION): Likewise.
* aclocal.m4 (AC_ISC_POSIX, AM_WITH_NLS): New functions.
(AM_GNU_GETTEXT, AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST): Likewise.
* bi-arity.c, bi-opcode.c, bi-opname.c: Include config file first.
* c-common.c: Don't include <ctype.h>.
(tfaff): Now a function, not a string. All users changed.
(check_format_info): Use is_C_digit, not isdigit.
Reword messages to ease localization.
* c-decl.c (redeclaration_error_message): Now returns int, not message.
(poplevel, duplicate_decls, pushdecl): Revamp to pass explicit
strings to diagnostic generators.
(duplicate_decls, parmlist_tags_warning, finish_struct): Reword
messages to ease localization.
* c-iterate.c (prdecl): Reword messages so that they do not require
localization.
* c-lex.c: Include limits.h if available.
Include intl.h.
Include ctype.h only if MAP_CHARACTER is defined.
(UCHAR_MAX): Define if limits.h doesn't.
(C_alnum_array): New var.
(init_lex): Initialize it.
(yyerror): Localize msgid arg.
(yylex): Use is_C_alnum and is_C_digit, not isalnum and isdigit.
* c-lex.h (C_alnum_array): New decl.
(is_C_alnum, is_C_digit): New macros.
* c-typeck.c: Include intl.h.
(warning_init): Now takes just one arg.
(incomplete_type_error): Reword messages to ease localization.
(build_unary_op, lvalue_or_else, readonly_warning): Likewise.
(build_modify_expr): Likewise.
(build_unary_op, readonly_warning): Revamp to pass explicit
strings to diagnostic generators.
(build_modify_expr, warn_for_assignment, c_expand_return):
Translate strings passed to functions expecting translated
strings.
(get_spelling): Remove; it was a no-op. All callers changed.
(error_init, pedwarn_init): Now takes one arg. All callers changed.
* c-tree.h (error_init, pedwarn_init): Likewise.
* cccp.c: Include intl.h.
(char_name): Remove.
(check_macro_name): 2nd arg now int, not char *. All callers changed.
(macarg): Now returns int, not char *. All callers changed.
(notice, vnotice, pedwarn_strange_white_space): New functions.
(verror): Now extern; used by cexp.y.
(main): Set message locale, and defer memory allocation until after.
(main, do_include, print_containing_files): Invoke `notice' to
localize notices.
(handle_directive): Invoke pedwarn_strange_white_space instead of
using char_name.
(do_include, check_macro_name): Reword messages to ease localization.
(my_strerror): Likewise.
(verror, vwarning): Invoke vnotice to localize msgid.
(verror_with_line, vwarning_with_line): Likewise.
(pedwarn_with_file_and_line, fatal): Likewise.
(initialize_char_syntax): No need to initialize char_name.
* cexp.y (yyerror): Now takes msgid format and args, not just string.
(verror): New decl.
(parse_number, yylex): Reword messages to ease localization.
(verror): New test function.
(pedwarn, warning): Translate msgid arg.
* collect2.c: Include intl.h.
(my_strerror): Reword messages so they do not require localization.
(main, collect_execute, scan_prog_file, scan_libraries): Likewise.
(read_file, end_file): Likewise.
(notice): New function.
(fatal, error, main): Use it to translate msgid strings.
(collect_execute, maybe_unlink, write_c_file_stat): Likewise.
(locatelib, scan_libraries, scan_prog_file, add_func_table): Likewise.
(main): Set message locale, and defer memory allocation until after.
(collect_wait): Reword messages to ease localization.
(bad_header): Revamp to pass explicit strings to diagnostic generators.
* combine.c (dump_combine_stats, dump_combine_total_stats):
Use fnotice to translate diagnostic messages.
* cppalloc.c (memory_full): Use `cpp_notice' to print diagnostic.
* cpperror.c: Include intl.h.
(cpp_print_containing_files): Use cpp_notice to translate messages.
(cpp_message): is_error is -1 for notices. Translate "warning:".
(cpp_fatal): Translate msgid arg.
* cppexp.c (cpp_lex): Pass explicit strings to diagnostic generators.
(cpp_parse_expr): Use cpp_error, not fprintf, to report
unimplemented operators.
* cpplib.c: Include intl.h.
(check_macro_name): 2nd arg now int, not char *. All callers changed.
(check_macro_name, do_define): Reword messages to ease localization.
(do_define): Pass explicit strings to diagnostic generators.
(do_define, cpp_start_read, cpp_handle_options): Use cpp_notice to
translate messages.
(cpp_error, cpp_warning, cpp_warning_with_line): Translate msgid arg.
(cpp_pedwarn_with_file_and_line): Likewise.
(cpp_notice): New function.
(my_strerror): Reword message so it does not require localization.
* cpplib.h (cpp_notice): New decl.
* cppmain.c: Include intl.h.
(main): Set message locale.
* cse.c (cse_main): Use fnotice to print diagnostic.
* final.c: Include intl.h; do not include ctype.h.
(output_operand_lossage): Translate msgid arg.
* fold-const.c (optimize_bit_field_compare, fold_truthop): Reword
messages to ease localization.
* gcc.c: Include intl.h.
(my_strerror, snapshot_warning): Reword messages so they do not
require localization.
(init_spec, set_spec): Invoke `notice' to localize notices.
(read_specs, execute, do_spec_1, main, snapshot_warning): Likewise.
(struct switchstr): Don't use `valid' as identifier.
(do_spec_1): Treat %e string as msgid format, which needs
translation.
(main): Set message locale.
(pfatal_with_name): Invoke perror_with_name, not fatal.
(perror_with_name): Invoke printf, not error.
(pfatal_pexecute): Invoke pfatal_with_name, not fatal.
(fatal, error): Translate msgid arg.
(notice): New function.
* gcov.c: Include intl.h; include stdarg.h if __STDC__ is defined.
(main): Set message locale.
(fnotice): New function.
(xmalloc, fancy_abort, print_usage): Use it to to print diagnostics.
(open_files, read_files, function_summary, output_data): Likewise.
* integrate.c: Include intl.h.
(function_cannot_inline_p): Mark msgids with N_.
* pexecute.c: Include libintl.h if ENABLE_NLS, otherwise define
gettext to be a noop.
(_, N_): New macros.
(install_error_msg): Wrap inside N_.
(pexecute): Translate diagnostics.
* protoize.c: Include intl.h.
(__attribute__): New macro.
(notice): New function.
(my_strerror): Reword message so it does not require localization.
(xmalloc, xrealloc, fancy_abort): Use `notice' to print diagnostic.
(safe_write, usage, file_normally_convertible, abspath): Likewise.
(find_file, aux_info_corrupted, save_def_or_dec): Likewise.
(gen_aux_info_file, process_aux_info_file, rename_c_file): Likewise.
(find_extern_def, find_static_definition): Likewise.
(declare_source_confusing, edit_fn_declaration): Likewise.
(edit_formals_lists, add_local_decl, add_global_decls): Likewise.
(edit_fn_definition, scan_for_missed_items, edit_file, main): Likewise.
(main): Set message locale.
* real.c (NMSGS, ermsg): Remove.
(mtherr): Pass explicit strings to diagnostic generators.
Abort on invalid operations.
* regclass.c (fix_register): Reword messages to ease localization.
* toplev.c: Include intl.h; do not include ctype.h.
(v_really_sorry, really_sorry): Remove unused functions.
(count_error, fatal_io_error): Translate strings.
(default_print_error_function): Reword messages to ease localization.
Use `notice' to translate diagnostics.
(report_error_function, main, print_version): Likewise.
(vnotice, notice, fnotice): New functions.
(vmessage): Remove.
(v_message_with_file_and_line, vsorry): Translate msgid with vnotice.
(v_message_with_file_and_line, v_message_with_decl): Use
report_file_and_line. Now takes int warning flag, not prefix;
this is easier to localize. All callers changed.
(v_message_with_decl): Abort if first format spec is neither %%
nor %s. Translate "((anonymous))".
(main): Set message locale.
(set_target_switch): Don't use `valid' as an identifier.
(__VERSION__): Reword message so it does not require localization.
(print_switch_values): Translate "options passed" and "enabled".
* tree.c (valid_machine_attribute): Don't use `valid' as identifier.
* xcoffout.c (xcoff_output_standard_types): Use `error' to
output diagnostic, so that it gets translated.
* 1750a.c (memop_valid): Don't use `valid' as an identifier.
* arc/initfini.c (__do_global_dtors): Put backslash before
newline in strings, to pacify xgettext.
* dsp16xx.c (dsp16xx_invalid_register_for_compare): New function.
* dsp16xx.h: Declare it.
* dsp16xx.md: Use it to report invalid registers.
* i370.h: Include <ctype.h>.
* i386.c: Include config.h first.
* m32r/initfini.c (__do_global_dtors): Put backslash before
newline in strings, to pacify xgettext.
* m88k/dguxbcs.h (CPP_SPEC): Likewise.
* rs6000.c: Include config.h first.
(rs6000_fatal_bad_address): New function.
* rs6000.h: Declare it.
* rs6000.md: Use it to report bad addresses.
* v850.c: Include config.h first.
* configure.in: When generating config.h and mentioning file from
the config directory, surround it with #ifdef IN_GCC.
(AC_ARG_ENABLE): Add --enable-nls.
(AM_GNU_GETTEXT): Add. Override XGETTEXT so that we use exgettext
instead of xgettext to extract strings.
(all_outputs): Add intl/Makefile, po/Makefile.in.
Do not use the shell variable 'l'.
If libintl.h is created, echo '#include "intl/libintl.h"' >libintl.h.
* cp/Make-lang.in (g++.o): Depend on gansidecl.h, intl.h, Makefile;
do not depend on config.status.
(GXX_OBJS): New var.
(g++$(exeext)): Link intl.o.
* cp/Makefile.in (top_builddir, INTLLIBS): New vars.
(LIBS): Add $(INTLLIBS).
* patch-apollo-includes: Remove; this is part of README.APOLLO.
Mon Jul 27 18:28:58 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -