X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2FChangeLog;h=3ccbe76d42af5c5f4ab1ea89d93037c1a59de58f;hb=17bec2116b0d15240470338e3a84a7b69279590b;hp=31527b57fe51b4d5ad71faef221d345c1ef9f4ee;hpb=59423b59a7c71964e1557b7478e2309e18a7b7de;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 31527b57fe5..3ccbe76d42a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,561 @@ +Wed Jan 19 19:54:38 2000 J"orn Rennecke + + * sh.c (prepare_scc_operands): Abort if no compare insn is available. + (find_barrier, gen_block_redirect, split_branches): Fix indentation. + (calc_live_regs): Likewise. + +Wed Jan 19 19:12:36 2000 J"orn Rennecke + + * sh.md (fpu_single, fp_mode): New attributes. + +2000-01-20 Michael Hayes + + * loop.c (current_loop_info): Renamed from loop_info_data + and changed to a pointer. + (loop_optimize): Allocate loop_info structure for each loop + and initialise to zero. + (scan_loop): Set current_loop_info. + + * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set + on iteration_var. + +2000-01-19 Richard Henderson + + * stupid.c: Die die die. + * Makefile.in (OBJS): Remove stupid.o. + (stupid.o): Likewise. + + * except.c (emit_eh_context): Don't emit USEs for stupid. + * explow.c (probe_stack_range): Likewise. + * flags.h (obey_regdecls): Remove. + * flow.c (find_basic_blocks): Don't run try_merge_blocks + when not optimizing. + (life_analysis): Limit data collection when not optimizing. + (mark_regs_live_at_end): Always mark the return value registers. + (mark_used_regs): Remove dummy RETURN case. + (print_rtl_with_bb): Don't consult obey_regdecls. + * function.c (use_variable, use_variable_after): Remove. + (assign_parms): Consult optimize not obey_regdecls. + (expand_function_start): Don't emit USEs for stupid. + (expand_function_end): Likewise. + * global.c (build_insn_chain): Export. + * integrate.c (expand_inline_function): Kill return-value USE + handling code. + * jump.c (jump_optimize_1): Do simple jump optimizations and + dead code elimination. + (calculate_can_reach_end): Remove check_deleted argument. + (delete_insn): Patch out insns even when not optimizing. + * local-alloc.c (block_alloc): Don't do tying when not optimizing. + * rtl.h (use_variable, use_variable_after): Remove declarations. + (build_insn_chain): Declare. + * stmt.c (expand_value_return): Don't emit USEs for stupid. + (expand_end_bindings): Likewise. + (expand_decl): Likewise. Consult optimize not obey_regdecls. + * toplev.c (obey_regdecls): Remove. + (rest_of_compilation): Don't set it. Kill stupid in favour of + flow1, local-alloc, and reload. + (main): Don't set obey_regdecls. + + * config/nextstep.c (handle_pragma): Likewise. + + * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid. + + * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid. + +2000-01-18 Kaveh R. Ghazi + + * alpha-protos.h: PROTO -> PARAMS. + * alpha.c: Likewise. + * elf.h: Likewise. + * h8300.c: Likewise. + * i386-protos.h: Likewise. + * i386.c: Likewise. + * m32r-protos.h: Likewise. + * m32r.c: Likewise. + * mips.c: Likewise. + * mips.md: Likewise. + * gmon-sol2.c: Likewise. + * sparc.c: Likewise. + +2000-01-18 Kaveh R. Ghazi + + * ns32k-protos.h: New file. + + * ns32k.c: Fix compile time warnings. + + * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time + warnings. + + * ns32k.md: Likewise. + +2000-01-18 Kaveh R. Ghazi + + * vax-protos.h: New file. + + * vax.c: Fix compile time warnings. + + * vax.h: Move prototypes to vax-protos.h. Fix compile time + warnings. + + * vax.md: Likewise. + + * vaxv.md: Likewise. + +2000-01-18 Kaveh R. Ghazi + + * romp-protos.h: New file. + + * romp.c: Fix compile time warnings. + + * romp.h: Move prototypes to romp-protos.h. Fix compile time + warnings. + + * romp.md: Likewise. + +2000-01-18 Kaveh R. Ghazi + + * we32k-protos.h: New file. + + * we32k.c: Fix compile time warnings. + + * we32k.h: Move prototypes to we32k-protos.h. Fix compile time + warnings. + +2000-01-18 Kaveh R. Ghazi + + * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED. + + * except.c (eh_regs): Likewise. + + * final.c (output_operand): Likewise. + + * fold-const.c (target_isinf, target_isnan): Likewise. + +Tue Jan 18 16:19:55 MET 2000 Jan Hubicka + + * i386.h (BIGGEST_ALIGNMENT): Set to 128. + (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32) + + * i386.md (memstr): Do not use rep stosb for counts divisible by 4 + when optimize_size. + (clrstrsi): Rewrite. + (strsethi, strsetqi): New expanders. + (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns. + (cmpstrsi): Emit compare insn before cmpstrsi_1 + (cmpstrsi_nz): use flags, set type to str, prefix_length to 1. + (strlensi_1): Likewise. + (cmpstrsi_1): Likewise; do not output compare. + (strlen expander): Do not unroll when optimizing for size. + (*subsi3_carry): Rename to subsi3_carry + (addqi3_cc): New pattern. + * i386.h (processor_costs): Add move_ratio field. + (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE + * i386.c (*_cost): Set move_ratio. + (x86_unroll_strlen): Enable for Athlon, PPro and K6 too. + (x86_expand_strlensi_1): Rewrite the main loop. + +2000-01-17 Richard Henderson + + * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode. + * cse.c (find_comparison_args, fold_rtx): Likewise. + * integrate.c (subst_constants): Likewise. + * loop.c (get_condition): Likewise. + + * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs. + + * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF. + +2000-01-18 Martin v. Löwis + + * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST. + (RESTORE_WARN_FLAGS): Unpack it. + Change semantic type of extension to ttype. + * c-common.c (split_specs_attrs): Expect an INTEGER_CST. + * c-parse.y, c-parse.c, objc/objc-parse.y, + objc/objc-parse.c: Regenerate. + +2000-01-17 Zack Weinberg + + * fixinc/fixlib.c: Add copyright notice. + (compile_re): New function. + * fixinc/fixlib.h: Prototype compile_re. + + * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c: + Use compile_re to compile regular expressions. + + * fixinc/fixincl.c (egrep_test): Don't bother asking regexec + where the pattern matched. + + * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy, + use 'replace'. + (ultrix_ansi_compat): Likewise. + (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test, + add egrep test. + (interactv_add2, interactv_add3): Delete. + (x11_sprintf): Don't use filename glob. + * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh: + Regenerate. + +2000-01-17 Kaveh R. Ghazi + + * print-rtl.c: PROTO -> PARAMS. + * real.c: Likewise. + * reg-stack.c: Likewise. + * resource.c: Likewise. + * sdbout.h: Likewise. + * simplify-rtx.c: Likewise. + * stor-layout.c: Likewise. + * stupid.c: Likewise. + * xcoffout.c: Likewise. + * xcoffout.h: Likewise. + +2000-01-17 Kaveh R. Ghazi + + * toplev.c: PROTO -> PARAMS. + * toplev.h: Likewise. + * tree.c: Likewise. + * tree.h: Likewise. + * unroll.c: Likewise. + * varasm.c: Likewise. + * varray.c: Likewise. + * varray.h: Likewise. + +2000-01-17 Kaveh R. Ghazi + + * reload.c: PROTO -> PARAMS. + * reload.h: Likewise. + * reload1.c: Likewise. + * reorg.c: Likewise. + * resource.h: Likewise. + * rtl.c: Likewise. + * rtl.h: Likewise. + * rtlanal.c: Likewise. + * sbitmap.h: Likewise. + * sdbout.c: Likewise. + * stack.h: Likewise. + * stmt.c: Likewise. + * system.h: Likewise. + +2000-01-17 Kaveh R. Ghazi + + * machmode.h: PROTO -> PARAMS. + * mbchar.h: Likewise. + * mips-tdump.c: Likewise. + * mips-tfile.c: Likewise. + * optabs.c: Likewise. + * output.h: Likewise. + * prefix.c: Likewise. + * profile.c: Likewise. + * protoize.c: Likewise. + * real.h: Likewise. + * recog.c: Likewise. + * recog.h: Likewise. + * regclass.c: Likewise. + * regmove.c: Likewise. + * regs.h: Likewise. + +2000-01-17 Kaveh R. Ghazi + + * ggc-common.c: PROTO -> PARAMS. + * ggc-page.c: Likewise. + * ggc-simple.c: Likewise. + * ggc.h: Likewise. + * global.c: Likewise. + * graph.c: Likewise. + * gthr-win32.h: Likewise. + * haifa-sched.c: Likewise. + * halfpic.h: Likewise. + * integrate.c: Likewise. + * integrate.h: Likewise. + * jump.c: Likewise. + * lcm.c: Likewise. + * local-alloc.c: Likewise. + * loop.c: Likewise. + * loop.h: Likewise. + +2000-01-17 Kaveh R. Ghazi + + * genattr.c: PROTO -> PARAMS. + * genattrtab.c: Likewise. + * gencheck.c: Likewise. + * gencodes.c: Likewise. + * genconfig.c: Likewise. + * genemit.c: Likewise. + * genextract.c: Likewise. + * genflags.c: Likewise. + * gengenrtl.c: Likewise. + * genopinit.c: Likewise. + * genoutput.c: Likewise. + * genpeep.c: Likewise. + * genrecog.c: Likewise. + +2000-01-16 Mark Mitchell + + * tree.h (BINFO_VPTR_FIELD): Augment documentation. + +2000-01-16 Alexandre Oliva + + * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro. + * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP. + * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO. + * configure, config.in: Rebuilt. + +2000-01-16 Zack Weinberg + + * config/i386/i386.md: Add peephole to merge successive stack + adjusts. + +Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com) + + * gcse.c (insert_insn_end_bb): Use emit_block_insn_before + instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK + when walking backwards to find all the parameter loads when + the basic block ends in a call. + +2000-01-15 Michael Hayes + + * loop.c (this_loop_info): Delete. + (uid_loop): Add in place of uid_loop_num. All uses updated. + (loop_number_exit_count): Delete and replace with entry in loop + structure. All uses updated. + (loop_number_loop_starts, loop_number_loop_ends): Likewise. + (loop_number_loop_cont, loop_number_cont_dominator): Likewise. + (loop_outer_loop): Likewise. + (loop_invalid, loop_number_exit_labels): Likewise. + (loop_used_count_register): Delete and replace with entry in + loop_info structure. + (find_and_verify_loops): Add loops argument. + (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start, + loop_end, etc. arguments with loop structure pointer. All callers + changed. + (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise. + (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise. + (load_mems_and_recount_loop_regs_set, load_mems): Likewise. + (insert_bct): Likewise. + (basic_induction_var): New argument level. + * loop.h (struct loop_info): Delete fields num, loops_enclosed, + vtop, and cont. Add used_count_register. + (uid_loop): Delete declaration. + (loop_number_exit_count): Likewise. + (loop_number_loop_starts, loop_number_loop_ends): Likewise. + (loop_number_loop_cont, loop_number_cont_dominator): Likewise. + (loop_outer_loop, loop_used_count_register): Likewise. + (loop_invalid, loop_number_exit_labels): Likewise. + (unroll_loop): Replace loop_start and loop_end arguments + with loop structure pointer. + (loop_precondition_p, loop_iterations): Likewise. + Include basic-block.h. + * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments + with loop structure pointer. + (loop_precondition_p, loop_iterations): Likewise. + * basic-block.h (struct loop): New entries vtop, cont, + cont_dominator, start, end, top, scan_start, exit_labels, + exit_count. + * Makefile.in (LOOP_H): Add basic-block.h to dependencies. + +2000-01-15 Gerald Pfeifer + + * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT. + +2000-01-14 Nathan Sidwell + + * config.in: Rebuilt for 2000-01-13 change to acconfig.h. + +2000-01-14 Kaveh R. Ghazi + + * pdp11-protos.h: New file. + + * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile + time warnings. + + * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time + warnings. + + * pdp11.md: Likewise. + + * 2bsd.h: Likewise. + +2000-01-14 Kaveh R. Ghazi + + * mn10300-protos.h: New file. + + * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile + time warnings. + + * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time + warnings. + + * mn10300.md: Likewise. + +2000-01-14 Kaveh R. Ghazi + + * mn10200-protos.h: New file. + + * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile + time warnings. + + * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time + warnings. + + * mn10200.md: Likewise. + +2000-01-14 Kaveh R. Ghazi + + * h8300-protos.h: New file. + + * h8300.c: Include tm_p.h. Add static prototypes. Fix compile + time warnings. + + * h8300.h: Move prototypes to h8300-protos.h. Fix compile time + warnings. + + * h8300.md: Likewise. + +2000-01-14 Kaveh R. Ghazi + + * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED. + (asm_emit_uninitialised): Likewise. + +2000-01-13 Gavin Romig-Koch + + * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New. + * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE. + +2000-01-14 Clinton Popetz + + * config/mips/mips.c (override_options): Don't turn on extra + alignment for mips16. + +2000-01-14 Clinton Popetz + + * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit + eabi, and make sure queued POSTINCREMENT rtl is emitted at + the right point. + +2000-01-14 Clinton Popetz + + * builtins.c (PAD_VARARGS_DOWN): Define. + (std_expand_builtin_va_arg): Use the above macro. + * config/mips/mips.h (PAD_VARARGS_DOWN): Define. + * tm.texi (Register Arguments): Document the above macro. + +2000-01-14 Nick Clifton + + * emit-rtl.c (emit_insn): If checking is enabled, make sure + that this function has not been used to emit a jump + instruction. + + * jump.c (return_jump_1): Cope with being passed a null rtx. + +2000-01-14 Kaveh R. Ghazi + + * eh-common.h: PROTO -> PARAMS. + * emit-rtl.c: Likewise. + * errors.c: Likewise. + * errors.h: Likewise. + * except.c: Likewise. + * except.h: Likewise. + * explow.c: Likewise. + * expmed.c: Likewise. + * expr.c: Likewise. + * expr.h: Likewise. + * final.c: Likewise. + * fix-header.c: Likewise. + * flow.c: Likewise. + * fold-const.c: Likewise. + * function.c: Likewise. + * function.h: Likewise. + * gcc.c: Likewise. + * gcov-io.h: Likewise. + * gcov.c: Likewise. + * gcse.c: Likewise. + +2000-01-14 Kaveh R. Ghazi + + * sh-protos.h: New file. + + * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h. + Add static prototypes. Fix compile time warnings. + + * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings. + * sh.md: Likewise. + * elf.h: Likewise. + +2000-01-14 Kaveh R. Ghazi + + * arc-protos.h: New file. + + * arc.c: Include tm_p.h. Add static prototypes. Fix compile + time warnings. + + * arc.h: Move prototypes to arc-protos.h. Fix compile time + warnings. + + * arc.md: Likewise. + +2000-01-14 Kaveh R. Ghazi + + * dsp16xx-protos.h: New file. + + * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile + time warnings. + + * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time + warnings. + + * dsp16xx.md: Likewise. + +2000-01-14 Kaveh R. Ghazi + + * convex-protos.h: New file. + + * convex.c: Include tm_p.h. Add static prototypes. Fix compile + time warnings. + + * convex.h: Move prototypes to convex-protos.h. Fix compile time + warnings. + +2000-01-14 Kaveh R. Ghazi + + * elxsi-protos.h: New file. + + * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile + time warnings. + + * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time + warnings. + + * elxsi.md: Likewise. + +2000-01-14 Clinton Popetz + + * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant + case for moving from HI/LO/HI_LO_REG. This makes the behavior + match the comment for MIPS16. + +Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com) + + * flow.c (split_edge): Do not call set_block_for_insn if we + do not have a basic_block_for_insn structure. + + * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain + and destination functions are 32bit aligned within the trampoline. + (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes. + (TRAMPOLINE_ALIGNMENT): Define. + + * cse.c (cse_insn): When changing (set (pc) (reg)) to + (set (pc) (label_ref)), verify the change creates a valid insn. + + * fr30.c (call_operand): Tighten and rework to match rules for + call RTL expressions. + * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs. + * fr30.md (call patterns): Improve constraints. + +Thu Jan 13 23:44:03 2000 Richard Henderson + + * fr30.c (fr30_expand_epilogue): Revert last change. + Use emit_jump_insn for the return insn. + Thu Jan 13 14:46:03 2000 Jason Eckhardt Stan Cox @@ -88,6 +646,13 @@ Thu Jan 13 16:03:06 2000 J"orn Rennecke * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS. +2000-01-13 Nathan Sidwell + + * configure.in (--enable-new-gxx-abi): New option. + * acconfig.h (ENABLE_NEW_GXX_ABI): New define. + * Makefile.in (GXX_ABI_FLAG): New variable. + * configure: Regenerate. + 2000-01-13 Michael Hayes * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.