📄 changelog.5
字号:
* expmed.c (expand_mult): Use synth_mult even if not -O.Sun May 17 02:54:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * c-decl.c (push_parm_decl): Pedantic warning if shadowing typedef. * c-typeck.c (constant_expression_warning): New function. (store_init_value): Call that. * tree.h (TREE_CONSTANT_OVERFLOW): New flag. * c-lex.c (yylex): "exceeds range" warning changed to pedwarn. * c-decl.c (grokdeclarator): Likewise for duplicate keywords. * c-typeck.c (build_unary_op): For increment operators, test TREE_READONLY in operand, not the data type. * unprotoize.c: New file. * Makefile.in (unprotoize.o): Use that. * c-decl.c (init_decl_processing): Make global decl for __NAME__. (store_parm_decls): Make local decl for __NAME__. (declare_function_name): Subroutine for that. * toplev.c (rest_of_decl_compilation): Ignore initialized statics if DECL_IGNORED_P is set. * c-lex.c (yylex): Convert invisible initialized char array vars to string constants. * c-decl.c (get_parm_info): Change error message.Sat May 16 21:25:21 1992 Paul Eggert (eggert@twinsun.com) * fold-const.c (fold): Do not fold X-X to 0 if X is floating point. * cse.c (simplify_unary_operation): - -X simplifies to X even with IEEE floating point.Sat May 16 14:14:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Makefile.in (clean): Delete *.dvi. (distclean): Not here. * Makefile.in (install-man): Ignore errors in all commands. * combine.c (expand_compound_operation): Don't simplify extending a const_int. * ns32k.h (NS32K_DISPLACEMENT_P): New macro. (INDIRECTABLE_1_ADDRESS_P): Use that. * ns32k.md (addsi3): Likewise.Sat May 16 07:47:11 1992 Tom Wood (wood@dg-rtp.dg.com) * m88k.h: Override SET_ASM_OP in svr4.h. Sat May 16 00:10:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * c-parse.y (parmlist_1): Add pedantic warning.Fri May 15 13:10:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * configure (i386-*-sco3.2v4*): New file. * config.sub: For SCO, produce -sco3.2v2. For ISC, make just -isc. * dbxout.c (DBX_TYPE_DECL_STABS_CODE): Was DBX_DECL_STABS_CODE. (DBX_OUTPUT_ENUM): Pass type as arg; make it do the whole job. * svr4.h (ASM_BYTE_OP): Delete the tab. (SET_ASM_OP): New definition. * Makefile.in (gcc.xtar): Depend on doc. (gcc.info, cpp.info): Duplicate rules deleted. * i386.c (handle_pragma): Use SET_ASM_OP, not DEF_ASM_OP.Fri May 15 12:38:18 1992 Jim Wilson (wilson@sphagnum.cygnus.com) * final.c (final_scan_insn): Don't set new_block when within a sequence. Set it after the last insn of the sequence.Fri May 15 07:23:09 1992 Tom Wood (wood@dg-rtp.dg.com) * m88k.c (m88k_handle_pragma_token, output_short_branch_defs): Use SET_ASM_OP.Fri May 15 14:54:54 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov) * fx2800.h: Replace Ron Guilmette's version with working version. Tested on Concentrix 2.1 and 2.2. * i860.c (singlemove_string): Comparison of const0_rtx was in the wrong place and would never be reached. Added check for negative short int constants. (output_size_for_block_move): call singlemove_string instead of just emitting a mov. (sfmode_constant_to_ulong): eliminate bogus "# error" directive. * t-fx2800, x-fx2800, xm-fx2800.h: New files. * configure: Corresponding changes. * dbxout.c (DBX_MEMPARM_STABS_LETTER): New macro. (dbxout_type): Check for DBX_OUTPUT_ENUM. (dbxout_parms): Use DBX_MEMPARM_STABS_LETTER. (dbxout_block): Check for DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC.Thu May 14 18:26:13 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) * sparcv4.h (ASM_OUTPUT_ALIGN_JUMP_TABLE, ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Delete.Thu May 14 13:51:01 1992 Chip Salzenberg (chip@tct.com) * toplev.c (compile_file): Use IO_BUFFER_SIZE for finput. * xm-i386sco.h, xm-rs6000.h (IO_BUFFER_SIZE): Defined.Thu May 14 15:21:24 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) * config.sub: Recognize "none" as a valid os.Thu May 14 13:37:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * function.c (assign_parms): Make new stack slot if entry stack slot isn't aligned as much as the mode wants. And don't make an eqv for entry_parm in that case. * sparc.c (output_move_double): Assume memory always ok for ldd, std except when explicit offset from stack. * c-decl.c (duplicate_decls): Don't warn about qualifier mismatch for a function. * c-decl.c (grokdeclarator): Give explicit list of types to promote to int (and sometimes to unsigned int) for parms. * Makefile.in (gcc.info, cpp.info): New targets. (gcc.xtar): Depend on those. * expmed.c (extract_bit_field): Don't fail to compute all of a DImode value. * dwarfout.c (SET_ASM_OP): Renamed from DEF_ASM_OP. (ASM_OUTPUT_DEF): Use SET_ASM_OP. * m88k.h (SET_ASM_OP): Renamed from DEF_ASM_OP. * sparcv4.h (DEF_ASM_OP): No need for #undef. * cccp.c (main): Handle -iprefix option instead of GCC_EXEC_PREFIX. * gcc.c (process_command): Set gcc_exec_prefix. (do_spec_1): Handle %I. (default_compilers): Use %I when running cpp. * protoize.c (savestring, savestring2): Change parm decls. * i860.h, we32k.h (CONST_COSTS): Add missing parm OUTER_CODE. * i386v4.h (DEF_ASM_OP, WEAK_ASM_OP): Deleted.Wed May 13 17:23:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * rtl.c (init_rtl): For byte_mode and word_mode, use first fit. * protoize.c (munge_compile_params): Increase size of temp_params.Wed May 13 13:30:40 1992 Chip Salzenberg (chip@tct.com) * i386sco4.h: New file.Tue May 12 23:23:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * expr.c (expand_increment): A subreg as op0 is not necessarily a copy. Treat subregs like regs. * c-typeck.c (mark_addressable): Different messages for reg var if reason is a use in a nested function.Tue May 12 14:28:22 1992 Tom Wood (wood at gen-rtx) * gcc.c (process_command): -save-temps uses a switches entry.Tue May 12 21:24:46 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * collect2.c (vfork): Declaration deleted.Tue May 12 06:16:49 1992 Niklas Hallqvist (niklas@appli.se) * tower-as.h: Added support for basic block profiling.Tue May 12 02:34:45 1992 James Van Artsdalen (james at bigtex.cactus.org) * unx386.h (AS3_SHIFT_DOUBLE): New macro to print shift-double opcodes. * i386gas.h (AS3_SHIFT_DOUBLE): Redefine for GAS shift-double rules. (GAS_MNEMONICS): New macro to force use of opcodes for GAS. * seq386gas.h (AS3_SHIFT_DOUBLE,GAS_MNEMONICS): Likewise. * i386.c (print_operand): Use GAS_MNEMONICS to choose long-long opcode suffix. * i386.md (ashldi3,ashrdi3,lshrdi3): Split into separate recognizers for constant and variable shifts. Use AS3_SHIFT_DOUBLE for variable shifts. (all shifts and rotates): Don't allow memory operands for shift count. (bit set/clear): Don't allow non-CONST_INT constants as SET_SRC. (movstrsi,cmpstrsi,strlensi): Allow any address_operand within a MEM:BLK, not just register_operand. (movstrsi): Rewrite to avoid match_dup on the address_operand above.Mon May 11 23:31:47 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) Sun May 10 18:44:58 Per Bothner (bothner@cygnus.com) * dbxout.c (dbxout_type_methods): Only emit final semi-colon of method list of we have emitted any methods. (The converse of only emitting the operation name initially if needed.)Mon May 11 22:45:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) * reload.c, reload1.c: Use reg_overlap_mentioned_for_reload_p and refers_to_regno_for_reload_p instead of the normal versions. * reload.c (reg_overlap_mentioned_for_reload_p): New function.Mon May 11 22:44:50 1992 Ron Guilmette (rfg at ncd.com) * integrate.c (expand_inline_function): Copy LABEL_NAMEs to new copies of CODE_LABELs. * tree.c (decl_function_context, decl_type_context): Renamed `fndecl' formal parameter to `decl' throughout these functions.Mon May 11 18:43:45 1992 Paul Eggert (eggert@twinsun.com) * cccp.c: (deps_file): Deleted. (main): Do not open deps_file until needed. Check error status of dep_stream and stdout more carefully. (timestamp): New function; avoids calling localtime unless needed. (special_symbol, initialize_builtins): Use new timestamp function.Mon May 11 20:48:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * genix.h: Added #error, since this hasn't been updated.Mon May 11 14:33:32 1992 Ron Guilmette (rfg at ncd.com) * dwarfout.c (is_pseudo_reg): New function. (location_attribute): Use `is_pseudo_reg'. (location_or_const_value_attribute): Use DECL_INCOMING_RTL as the basis for forming the location decsriptor for any register parameter which was optimized into non-exitance. * dwarfout.c (DWARF_VERSION): New (default) definition. (ASM_OUTPUT_DWARF_STACK_OP, ASM_OUTPUT_DWARF_FMT_BYTE, ASM_OUTPUT_DWARF_TYPE_MODIFIER, ASM_OUTPUT_DWARF_DATA1): Output tab before ASM_BYTE_OP. (ASM_OUTPUT_DWARF_ADDR_CONST): Encapsulate all statements in a `do { ... } while (0)' (data_member_location_attribute, bit_offset_attribute): Both fixed to use alignment of declared type of field as the "containing object" size. (location_or_const_value_attribute): Fixed to use DECL_INCOMING_RTL only for parms passed in memory. (output_decl): Don't output DIEs for externals if DWARF_VERSION == 1.Sun May 10 17:18:33 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) * pa.h (CPP_PREDEFINES): Define for BSD here. Remove conditional #ifdef hpux. * pa-hpux.h, pa-ghpux.h (CPP_PREDEFINES): Define for hpux here. * pa.h (CPP_SPEC): Define.Sun May 10 12:12:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Makefile.in (clean): Delete unprotoize.c. * stmt.c (expand_decl): Set MEM_IN_STRUCT_P right in dynamic case. * expr.c (get_inner_ref): Handle ARRAY_REF only if constant offset. Handle non-PLUS_EXPR variable offset by assuming multiple of byte. (expand_assignment, expand_expr): Fix gen_rtx added in last change.Sat May 9 02:39:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * expr.c (get_inner_reference): New output arg poffset. (expand_assignment, expand_expr): Pass new arg. Handle nonzero offset. (do_jump): Pass new arg but ignore result. * fold-const.c (optimize_bit_field_compare, decode_field_reference): Pass the new arg. Just return 0 if offset comes back nonzero. * reload.c (find_equiv_reg): Always test valueno >= 0. * c-aux-info.c: Don't include param.h or errno.h; don't declare errno. * rtl.c (read_rtx): Fix error in prev change. * gcc.c (process_command): Handle -print-libgcc-file-name. (main): Handle print_libgcc_file_name by printing the name. * c-decl.c (finish_struct): Use TYPE_PRECISION to see whether bitfield's type is narrower than int, for promoting to int. * cccp.c (struct definition, struct reflist): New field `rest_args'. (struct arglist): Likewise. (rest_extension, REST_EXTENSION_LENGTH): New var and macro. (create_defnition): Recognize `...' and set flag in arglist. (collect_expansion): Propagate flag to definition. (macroexpand): Check flag when parsing arglist. Special handling for ## next to a rest arg. (macarg, macarg1): New arg rest_arg affects parsing in macarg1. * genattrtab.c: Misc speedups and size reductions. (check_attr_test): Set RTX_UNCHANGING_P for tests of const attributes. Also for symbol_ref and comparison ops. (make_canonical): Likewise. Also check for degenerate cond values. (operate_exp, simplify_cond, insert_right_side, evaluate_eq_attr): Avoid copying in some cases. Detect opportunities to simplify. (compute_alternative_mask): Avoid atoi in most cases. (copy_rtx_unchanging): New function. (evaluate_eq_attr, simplify_test_exp): Use that. * genattrtab.c (optimize_attrs): Work pattern by pattern, doing all the work for each pattern before moving on. Use temp_obstack during simplification, then copy the end result. (temp_obstack): New obstack. (clear_struct_flag): New subroutine. (SIMPLIFY_TEST_EXP): Test MEM_IN_STRUCT_P. (simplify_test_exp): Add code for debugging stop. Avoid consing when possible; sometimes free storage. Check MEM_IN_STRUCT_P. Add shortcuts. * genattrtab.c: Add simplification per alternative (not in use now). (insn_n_alternatives): New array filled in by gen_insn. (current_alternative_string): Nonzero means we are simplifying for a particular alternative. Value is string for that numeral. (SIMPLIFY_ALTERNATIVE): New macro simplifies eq_attr for alternative. (evaluate_eq_attr, simplify_test_exp): Call SIMPLIFY_ALTERNATIVE. (simplify_by_alternatives, count_sub_rtxs): New functions. * genattrtab.c (attrs): Now an array indexed by first char. (MAX_ATTRS_INDEX): Length of above. (find_attr, main): Use that new data structure. * genattrtab.c: Clarify use of hash-consing: (hash_obstack): New obstack. (attr_hash_add_rtx, attr_hash_add_string): Use hash_obstack. (attr_rtx): Use hash_obstack if object is hashed. Set RTX_INTEGRATED_P if object is hashed. Don't hash object if subexpressions aren't hashed. If making symbol_ref, hash the symbol name. Uniquize const_int with value 0 or 1. (attr_equal_p): New compare function; uses RTX_INTEGRATED_P. (simplify_and_tree, simplify_or_tree, simplify_test_exp): Use that. (attr_copy_rtx): New; copy all but hashed subexpressions. (attr_eq): New function. (attr_numeral): New function. (check_attr_test): Use attr_eq. Hash symbol_ref and comparison ops.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -