📄 changelog.2
字号:
* sdbout.c (sdbout_symbol): Apply changes in dbxout.c to deal with SUBREG. Don't emit a symbolic definition for variables that can't be represented.Thu Jan 24 21:18:15 1991 Richard Stallman (rms at mole.ai.mit.edu) * config: Conditional for setting $os was backward. Also mention name of make-var file if one exists. * out-i386.c: Delete a large piece of accidental insertion. * dwarfout.c: Don't include c-tree.h or cplus-tree.h. (INT_TYPE_SIZE, etc.): Define them if not overridden. (fundamental_type_code): Distinguish types by TYPE_PRECISION. But also check for the built-in C type names.Thu Jan 24 15:23:17 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) * gcc.c (default_compilers): Pass all args starting with "O" to cc1 so that -O2 is passed along.Thu Jan 24 13:10:27 1991 Richard Stallman (rms at mole.ai.mit.edu) * stmt.c (expand_expr_stmt): Don't warn for any casts to void. * config: Fix typos setting shell vars. Rename config to config-dir. Insert missing \ in case for delta.Wed Jan 23 16:31:27 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) * emit-rtl.c (emit_jump_insn_{before,after}): Allow PATTERN to be a SEQUENCE. * loop.c (check_dbra_loop): Use emit_jump_insn_before when writing out compare and jump sequence, not emit_insn_before, to ensure that if we only write one insn that it is a JUMP_INSN. * toplev.c (flag_rerun_cse_after_loop): New: -frerun-cse-after-loop. (rest_of_compilation): Rerun cse after loop if desired. (main): Add support for -O2. Prescan args for -O and -O2 to set default values for many -f options. Add call to new macro OPTIMIZATION_OPTIONS. Save status of -version until all args have been processed; then write out the info. (print_single_switch): New function. (print_switch_values): Renamed from print_target_switch_defaults. Now prints out currently enabled -f, -m, and -W switches. Calls print_single_switch to write out switch and handle long lines. * rtl.def (SUBREG): Change rtx class from 'o' to 'x'. * cse.c (find_comparison_args): Ignore hash table entry if not valid.Wed Jan 23 00:12:24 1991 Richard Stallman (rms at mole.ai.mit.edu) * config: File renamed from config.gcc. Allow abbreviations for +-options. Allow config HOST TARGET. Support +gas and +nfp as separate options. Rename all the machine alternatives to general scheme: cpu/company-system. Allow abbreviations for cpu/company pairs. * config-dir: Dir renamed from config. * Makefile.in (install-dir): Create bindir here. * cccp.c (main): Delete duplicat p++ left in last change. * Makefile.in (GNULIB1, GNULIB1_TARGET): Renamed from GNULIB*. (gnulib1.portable, gnulib1.target): Renamed from gnulib.*. They now make a file named gnulib1, from gnulib1.c. (LIB1FUNCS, LIB1FUNCS_EXTRA): Renamed from LIBFUNCS*. (for-bootstrap, rest.encap): Depend on gnulib, not GNULIB2_TARGET. (stamp-gnulib2): This file is no longer used. (gnulib2.portable): Old stamp-gnulib2 rule renamed to this. Now create a file named gnulib2, from gnulib2.c alone. (gnulib): New target, combines gnulib1 and gnulib2 into gnulib. (mostlyclean): Delete additional temporary files. No need to avoid deleting stamp-gnulib2. (clean): Delete gnulib1 and gnulib2, but not stamp-gnulib2. (realclean): No need to delete gnulib here. (install-gnulib): Changed dependencies. * gnulib1.c: File gnulib.c renamed. * Makefile.in (install-dir): Create bindir here. * cccp.c (main): Delete duplicat p++ left in last change.Sun Jan 20 14:00:16 1991 Michael Tiemann (tiemann at cygnus.com) * cplus-class.c (finish_struct): Conditionalize EMPTY_FIELD_BOUNDARY on whether or not it is defined. Similarly for PCC_BIT_FIELD_MATTERS. Wed Jan 16 18:56:30 1991 Richard Stallman (rms at mole.ai.mit.edu) * cse.c (fold_rtx): When folding dispatch table, stay inside bounds.Wed Jan 16 08:11:48 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) * reload.c (find_reloads_toplev): Fix typo in recent change. * reload1.c (eliminate_regs): If we have a non-paradoxical (subreg (pseudo)) and the pseudo has an equivalent memory location, replace the SUBREG because find_reloads may do it.Tue Jan 15 01:41:28 1991 Richard Stallman (rms at mole.ai.mit.edu) * loop.c (scan_loop): Condition for movability was wrong. A reg that isn't necessarily set may be unsafe even if used only inside the loop. However, a reg used only in the same basic block after the set is safe. So is a reg that isn't a user-level variable. * loop.c (loop_optimize): Reverse order of scanning loops. * loop.c (scan_loop): After skipping the insns of a libcall sequence, ignore notes when searching back to find the last insn of the seq. * cccp.c (main): Use envvar GCC_EXEC_PATH to specify translation of prefixe in default include dirs. * cccp.c (main): Do path_includes after explicit options. * combine.c (try_distrib): Don't push + thru negative count shifts.Mon Jan 14 09:40:28 1991 Ken Raeburn (raeburn at watch.com) * cplus-lex.c (yylex): Even in `extern "C"', the keywords are the same. * cplus-lex.c (input_from_saved_text): New function. Set string source for FILE pointer. (yylex, do_pending_inlines): Call it. * cplus-parse.y (stmts, stmt): Type is now `tree'. Some actions fixed to return it. * cplus-lex.c (reinit_parse_for_block): New function, with most of the guts of reinit_parse_for_method. Magic argument IS_TEMPLATE chooses a set of error messages. (reinit_parse_for_method): Call it. cplus-template.c (reinit_parse_for_template): New function, also calls reinit_parse_for_block.Mon Jan 14 07:20:36 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) * loop.c (skip_consec_insns, move_movables, strength_reduce): Don't call find_reg_note on a NOTE.Sun Jan 13 15:45:23 1991 Richard Stallman (rms at mole.ai.mit.edu) * cccp.c: Separate namespace for assertions. Don't expand macros inside assertions in #if. Allow arbitrary token sequences. (rescan): Special handling after `#' if assertions_flag. (expand_to_temp_buffer): New arg sets assertions_flag. Callers changed. (eval_if_expression): Pass 1 for that arg. (skip_paren_group): New function. (assertion_hashtab, ASSERTION_HASHSIZE, ASSERTION_HASHNODE): New. (assertion_install, assertion_lookup, delete_assertion): New functions. (T_ASSERTION): Deleted. (tokenlist_list): Renamed from arglist_list. (read_token_list): Renamed from read_keyword_list. Much changed. Copy the strings into the heap. (free_token_list): Renamed from free_keyword_list. Free the strings. (do_assert, do_unassert): Considerably changed. (check_assertion): Somewhat changed. (check_macro_name): Extra arg contributes to error message. * cexp.y (yylex): Parse everything as a name if keyword_parsing. (rule for assertions): Set, then clear, keyword_parsing. (keywords): Allow empty sequence. Allow nested parens.Sat Jan 12 12:18:00 1991 Richard Stallman (rms at mole.ai.mit.edu) * c-typeck.c (build_unary_op): Make better code for simple casts. * reload.c (find_reloads): Computing reload_when_needed, don't neglect operands that don't have output reloads. * cse.c (refers_to_mem_p): At check_addr, handle PLUS inside CONST.Sat Jan 12 06:30:56 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) * reorg.c (steal_delay_list_from_*): Add missing argument to calls to insn_sets_resource_p. (fill_eager_delay_slots, relax_delay_slots): Add missing argument to calls to mostly_true_jump. (relax_delay_slots): Correctly handle case where we can't invert jump. * reload.c (find_reloads_toplev): If we have a SUBREG of a pseudo that resides in memory and the address is not offsettable, substitute for the pseudo now so we can generate a reload for the address.Fri Jan 11 14:39:09 1991 Richard Stallman (rms at mole.ai.mit.edu) * tm-next.h (LIB_SPEC, STARTFILE_SPEC): Don't support -p.Thu Jan 10 12:26:49 1991 Richard Stallman (rms at mole.ai.mit.edu) * tm-sun2.h (CC1_SPEC): Define to ignore -sun2 and -target. (WORD_SWITCH_TAKES_ARG): Define to recognize -target. (LIB_SPEC): Define; handle -a. * tm-sun2os4.h: New file. * tm-m68k.h (TARGET_SWITCHES): Handle -msky and -mnosky. (TARGET_SKY): New macro. * tm-next.h (LIB_SPEC): Use -lsys_s, not -lc. * c-parse.y (yylex): Fix typo. * genoutput.c (output_prologue): Make insn-output.c use insn-codes.h. * Makefile.in (insn-output.o): Depend on insn-codes.h. * Makefile.in (install-headers): Save $(libsubdir) before cd. * Makefile.in (gnulib): Depend on config.status. * gnulib2.c (__umulsidi3): Use #else around inline function. Use __-style names for all machines.Wed Jan 9 17:06:18 1991 Michael Tiemann (tiemann at cygnus.com) * out-sparc.c (various places): Change \; to \n\t in printf strings. * sparc.md: Change PIC initialization pattern to recognize pattern that doesn't involve a clobber. * out-sparc.c: Rest of change is here, where PIC initialization is emitted. * cse.c (simplify_unary_operation, simplify_binary_operation): Correctly adjust VAL for bits outside MODE.Wed Jan 9 15:45:26 1991 Richard Stallman (rms at mole.ai.mit.edu) * flow.c (libcall_dead_p): Handle a CALL in a PARALLEL.Tue Jan 8 13:35:50 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) * expmed.c (emit_store_flag): Correct UNSIGNEDP value passed to convert_to_mode and expand_unop.Mon Jan 7 11:56:31 1991 Michael Tiemann (tiemann at cygnus.com) * gplus.gperf: New keywords for templates and other extensions. * cplus-lex.c: Incorprate new gperf code. * cplus-class.c (resolve_scope_to_name): New function. (build_scoped_method_call): Call `resolve_scope_to_name' instead of handling by itself. * cplus-decl.c (pushdecl_class_level): Give forward declaration. (lookup_nested_type): New function. (pushtag,lookup_tag,xref_tag): Handle nested classes. (finish_function): Add comment about obscure argument passing convention for static method calls (at the call site). Also, don't call operator delete with NULL pointer. Call it with `current_class_decl' instead. (globalize_nested_type): New function. Used when we learn that a type which initially appeared to be nested should be defined in the global scope instead. (grokdeclarator): Call `globalize_nested_type' when grokking an as-yet undefined class type. * cplus-dem.c: Updated to handle qualified (i.e. nested) types. This means handling the new letter `Q' in mangled names. * cplus-init.c (build_member_call): Handle nested classes using `resolve_scope_to_name' instead of handling itself. * cplus-lex.c (typename_scope_in_progress): New static variable to allow the lexer to figure out what are nested class typenames, scoped member references, etc., without getting the parser too involved. (yylex): Recognize SCOPED_TYPENAME and TYPENAME_SCOPE tokens. Also, recognize '<' and '>' separately from ARITHCOMPARE so we can implement templates. No longer recognizes (X::*) or (X::&) as single tokens. * cplus-method.c (build_overload_nested_name): New function to build internal names for nested typenames. * cplus-parse.y: Handle parameterized type syntax (more or less). (dummy_decl): Gone! Nested types are now handled. * cplus-tree.h (DECL_UNDEFINED_FRIENDS): Moved out of DECL_CONTEXT slot of TYPE_DECLs. DECL_CONTEXT of typename is now the enclosing type for nested types. (DECL_NESTED_TYPENAME): An identifier pointer that makes the name of the type unique for the compilation. (IDENTIFIER_*): When initializing, call `perm_calloc', not permalloc, since non-zero values actually mean something, and we don't guarantee to initialize everything in one go. * tree.c (perm_calloc): New function. * cplus-typeck.c (default_conversion): Don't defaultly convert a naked METHOD_REF such that it becomes a virtual function table index. Only let this happen if user requests it with `&'. * Makefile.in: Handle new source file cplus-template.c.Mon Jan 7 15:03:53 1991 Richard Stallman (rms at mole.ai.mit.edu) * c-typeck.c (process_init_constructor): Error if values provided for an array of empty elements. * out-i386.c (fp_top_dead_p1): Follow jump only if optimizing. (fp_call_internal): Discard result if unused. Use fp_top_dead_p1. * cse.c (cse_insn): In special case for (set REG0 REG1), change any REG_EQUIV notes to REG_EQUAL. * tm-sun386i.h (PCC_BITFIELD_TYPE_MATTERS): Define it. * tm-att386.h (ASM_OUTPUT_LOCAL): Change back to data section. * genrecog.c (write_tree_1): Typo in printf string. * flow.c (libcall_dead_p): New arguments NOTE and INSN. Now test that the hard return reg in the call is dead. Callers changed.Mon Jan 7 12:27:07 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) * recog.c (cancel_changes): Cancel changes in opposite order we made them.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -