📄 changelog.2
字号:
Thu Jan 31 00:33:33 1991 Richard Stallman (rms at mole.ai.mit.edu) * loop.c (scan_loop): Check each libcall for regs it uses but does not mention in the equivalent value. To move the libcall, we must have at most one such reg and it must be moved as well. (libcall_other_reg): New subroutine. * rtlanal.c (record_excess_regs): New function. * tree.c (gcc_obstack_init): New function. (init_obstacks, save_tree_context): Use that. (OBSTACK_CHUNK_SIZE): New parameter. * xm-next.h: New file. * configure (m68k/next): Use that file. * flags.h (flag_no_common): Declare new flag to treat external defs as ANSI specifies (i.e. not as common). * toplev.c (flag_no_common, f_options): Support -fno-common. * varasm.c (assemble_variable): Don't output a common if flag_no_common is set. Treat as if initialized to 0. * gcc.c (default_compilers): Define __ASSEMBLER__ for .S file. * tm-aix386.h (ASM_OUTPUT_LOCAL): Ok to use bss, since no shared libs. (LINK_SPEC): Pass through all -K and -T options. * xm-aix386.h (TRUE, FALSE): Undef if already def, to avoid warning. * tm-m68k.h (TARGET_68040, TARGET_68040_ONLY): New machine flags. (TARGET_SWITCHES): Alternatives to set them. * tm-next.h (TARGET_DEFAULT): Changed to 0407 for 68040. * out-m68k.h (standard_68881_constant_p): Always return 0 for TARGET_68040 since fmovecr is no longer implemented in hardware. * m68k.md (ftruncdf2, ftruncsf2): Don't emit fintrz for TARGET_68040, since it is no longer implemented in hardware. (muldf3): Don't use fscale on 68040, since not implemented in hardware. * toplev.c (optimize): Now stores specified optimization level. (main): Keep the largest optimization level specified. Handle any integer. * c-decl.c (pushdecl): Don't make an extern global for -traditional if it uses any local types. * tm-sun386i.h (PCC_BITFFIELD_TYPE_MATTERS): Use 1 as value.Wed Jan 30 12:41:15 1991 Richard Stallman (rms at mole.ai.mit.edu) * fixincludes (sys/systypes.h): Edit this to handle _SIZE_T, etc. * function.c (put_var_into_stack): Allocate var ref chain link while in the proper function's obstack. * fold-const.c (const_binop): Don't crash for real/0 if have infinity. * flow.c (mark_set_1): Don't make log link for hard reg in asm insn.Wed Jan 30 07:45:33 1991 Tom Wood (wood at dg-rtp.dg.com) * sched.c (schedule_block): Indicate what insns constitute each basic block.Tue Jan 29 12:35:42 1991 Richard Stallman (rms at mole.ai.mit.edu) * Makefile.in (gnulib1.*, gnulib2.*): Declare them phony targets. * print-tree.c (print_node): Print message if TREE_PERMANENT is wrong. * tree.c (object_permanent_p): New function. * print-tree.c (print_node): Remove DECL_LANG_FLAG_10.Tue Jan 29 10:07:48 1991 Tom Wood (wood at dg-rtp.dg.com) * m88k.md (minus/xor/and, neg/ne/compare/and): Delete these. This should be done by combine. (compare operator): Eliminate except when a SET_SRC. * tm-m88k.h (OPTIMIZATION_OPTIONS): -fomit-frame-pointer is a default optimization.Mon Jan 28 12:52:11 1991 Richard Stallman (rms at mole.ai.mit.edu) * tree.h (DECL_VIRTUAL_P): Renamed from TREE_VIRTUAL. (struct tree_common): Eliminate virtual_flag. (struct tree_decl): Add virtual_flag. * Makefile.in (enquire.o): Pass -DNO_STDDEF. * m68k.md (tablejump): Now have a define_expand that does different things depending on CASE_VECTOR_PC_RELATIVE, and a separate define_insn for each case. * function.h (outer_function_chain): Declare the variable. * tree.c (debug_obstack): Fix typos. * tree.h (struct tree_common): Fix typo. * Makefile.in (GNULIB1_TARGET, GNULIB2_TARGET): Variables deleted. (gnulib): Depend on gnulib1.target and gnulib2.target explicitly. * dbxout.c (dbxout_type): Use DECL_VIRTUAL_P, not TREE_VIRTUAL. * cplus-tree.h (TREE_PRIVATE, TREE_PROTECTED): #if 0. * cexp.y (keywords): Cast names for parens to U_CHAR *. * gcc.c (process_command): Fix typo setting switches[n_switches].arg. * loop.c (loop_reg_used_before_p): Check insns before INSN, not after. * objc-actions.c (objc_finish): Renamed from lang_finish. * objc-parse.y (program): Call objc_finish at the end. * Changes from Matthew Self (mself@next.com): * objc-parse.y: Since objc-parse.y was so out of date with respect to c-parse.y, I started over with c-parse.y and reintegrated the Objective-C modifications. Now that Objective-C is working I hope that objc-parse.y will be kept more up to date.... I did not re-integrate the lexer since I don't have gperf working. I simply cut and pasted what Stallman had in objc-parse.y. Someone with access to gperf should re-generate this stuff. * objc-actions.c (comp_method_with_proto, comp_proto_with_proto): Stallman's change to use the functions end_temporary_allocation and resume_temporary_allocation is incorrect, since it always leaves allocation temporary, whether it was before or not. Perhaps the push and pop functions would do the trick.... * objc-actions.c (get_arg_type_list): Use new function groktypename_in_parm_context. * objc-actions.c (_OBJC_SELECTOR_REFERENCES_decl, _OBJC_SELECTOR_REFERENCES_id): Removed. * objc-actions.c (synth_module_prologue): Eliminated code to forward declare the selector references array. * objc-actions.c (init_objc_symtab): Eliminated code to initialize "refs" field in objc_symtab structure (which is now vestigial). * objc-actions.c (build_selector_translation_table): Rewrote. * objc-actions.c (build_selector_reference): New routine. * objc-actions.c (build_message_expr, build_selector_expr): Use new routine. * config/tm-next.h (GO_IF_INDEXABLE_BASE): Don't use pc relative addressing for LABEL_REF's. Since branch tables are in the const section, we treat LABEL_REF's like SYMBOL_REF's here. Otherwise invalid addresses were being generated. * config/tm-next.h (CASE_VECTOR_PC_RELATIVE, CASE_VECTOR_MODE): Use absolute branch tables rather than relative ones. * config/tm-next.h (ASM_OUTPUT_MAIN_SOURCE_FILE_END): Output an N_SO symbol with no name to mark the end of the module. This is needed to support scattered loading on the NeXT. * config/out-next.c (handle_pragma): Call to xrealloc had wrong args. * configure: Entry for NeXT must set out_file to out-next.c. * config/out-next.c: Typo: "flags" -> "flags.h" * config/tm-next.h (LIB_SPEC): Brought up-to-date. There are probably more changes needed here. * c-decl.c (pushdecl_top_level): New function. This was copied from an older version of g++. * c-decl.c (init_decl_processing): Make alloca first arg sizetype. * c-decl.c (groktypename_in_parm_context): New function.Mon Jan 28 07:07:01 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) * loop.c (loop_reg_used_before_p): Don't use INSN_LUID since INSN might have been made by loop.c for an outer loop. * loop.c (move_movables, strength_reduce): Replace register references in REG_NOTES as well as PATTERN. * loop.c (strength_reduce): Call maybe_eliminate_biv twice, not three times. (maybe_eliminate_biv): Don't abort if elimination fails even though we thought it wouldn't. This can happen if certain insn patterns aren't valid. (maybe_eliminate_biv_1): Ensure that we do not change the insn at all if all the required changes can't be done.Sun Jan 27 21:26:29 1991 Richard Stallman (rms at mole.ai.mit.edu) * Makefile.in: Rename config-dir back to config.Sat Jan 26 17:48:22 1991 Richard Stallman (rms at mole.ai.mit.edu) * objc-parse.y (program): Call objc_finish. * objc-actions.c (objc_finish): Renamed from lang_finish. * objc-actions.c, objc-parse.y: New version from NeXT.Sat Jan 26 17:37:48 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) * expr.c (expand_expr, case COND_EXPR): Disable special-case of A ? B : C when B and C are simple. This is now done better by jump.Sat Jan 26 13:16:58 1991 Richard Stallman (rms at mole.ai.mit.edu) * tree.h (TREE_PRIVATE, TREE_PROTECTED, TREE_VIRTUAL): New macros. (struct tree_common): New flag fields. * dbxout.c (dbxout_type): Get rid of conditional; can always use these. * cccp.c (lookup_import): Do return -2 if file found. (main): Handle `.m' suffix like `.S'. * configure (m68k/next): Use out-next.c. * WORD_SWITCH_TAKES_ARG and SWITCH_TAKES_ARG now give # of args. * gcc.c (struct switchstr): New field `args' replaces `part2'. (process_command): Record all the args a switch has. (give_switch): Pass all the strings in `args'. * tree.h (struct tree_common): Normally make `code' an enum tree_code. * m68k.md (tablejump): New pattern. (casesi, etc.): Deleted. * tree.c (debug_obstack): New function. * toplev.c (compile_file): Call dbxout_finish near the end. * dbxout.c (dbxout_finish): New function. * print-tree.c (print_node): Always print ERROR_MARK node briefly. * objc-actions.h (METHOD_ENCODING, CLASS_CATEGORY_LIST): New macros. * gcc.c (execute): Make fatal signal message clearer. (default_compilers): For .m file, define __OBJC__, and pass -lang-objc and -gen-decls to cc1. * dwarfout.c: Include output.h. (current_function_decl, asm_out_file): Explicit extern decls deleted. (abort, fatal): Explicit extern decls deleted. (NO_RETURN): Definition deleted. (named_labels): Don't declare it. (output_symbol): Don't use it. (MAXPATHLEN): Don't define this. Don't include sys/param.h. (output_source_file_die): Avoid limit on file name size. (output_symbols_for_stmt): Deleted. (output_symbols_for_block): Adapt to using BLOCK, not LET_STMT. * configure: Renamed from `config'. * config: Directory renamed back from config-dir.Sat Jan 26 1990 Ron Guilmette (rfg at ncd.com) * README.DWARF: updated to reflect changes to dwarfout.c, the inclusion of dwarf.h (and its changes) and the fact that the DWARF support is no longer directly tied to the DG versions of GCC. * dwarfout.c: included a patch (provided by Ray Essick) to allow dwarfout.c to properly get a value for MAXPATHLEN even on (old) System V.3 systems. * dwarfout.c: added support for long long types (as suggested by Ray Essick). * dwarfout.c: added support for the AT_comp_dir attribute. Also, as part of this change, the name of the compilation directory is no longer placed into in the .sources section. * dwarfout.c: added support for the AT_addr_ranges attribute. * dwarfout.c: added support for the AT_prototyped attribute. * dwarfout.c: added support for the AT_src_info attribute. Also, as part of this change, there is no longer a "special" entry at the start of the .srcinfo section for each compilation unit, and the contents of the "special" final entry in the .srcinfo section have changed (to { -1, -1 }). * dwarfout.c: modified to allow additional GNU DWARF extensions to be generated whenever the corresponding extended attribute codes are defined (presumably within a modified dwarf.h file). * dwarfout.c: use the section names .srcinfo and .sources rather than .finfo and .files. The additional specificity is warranted because the DWARF information may someday include information about object files as well as source files. * dwarfout.c: fixed a bug where a type attribute was being generated for functions and function types even when the return type was void. "Standard" dwarf says that if the return type for a function or function type is void then no type attribute should be generated for the corresponding DIE.Sat Jan 26 04:22:08 1991 Michael Tiemann (tiemann at cygnus.com) * cplus-lex.c (interface_strcmp): Handle String.String.Map.cc and friends. * cplus-typeck.c (build_unary_op): Merge change to generate better code from simple cast expression.Fri Jan 25 10:06:28 1991 Michael Tiemann (tiemann at cygnus.com) * cplus-decl.c (pushtag): Don't call `pushdecl' if the type's name is anonymous, lest we recurse ad infinitum.Thu Jan 24 23:56:55 1991 Richard Stallman (rms at mole.ai.mit.edu) * optabs.c (expand_binop, expand_unop): Word at a time only for ints.Thu Jan 24 09:40:37 1991 Tom Wood (wood at dg-rtp.dg.com)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -