OSDN Git Service

* sh.c (prepare_scc_operands): Abort if no compare insn is available.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index f620b90..3ccbe76 100644 (file)
@@ -1,3 +1,416 @@
+Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * 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 <amylaar@cygnus.co.uk>
+
+       * sh.md (fpu_single, fp_mode): New attributes.
+
+2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * 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  <rth@cygnus.com>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <hubicka@freesoft.cz>
+
+       * 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  <rth@cygnus.com>
+
+       * 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  <loewis@informatik.hu-berlin.de>
+
+       * 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  <zack@wolery.cumb.org>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <mark@codesourcery.com>
+
+       * tree.h (BINFO_VPTR_FIELD): Augment documentation.
+
+2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
+
+       * 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  <zack@wolery.cumb.org>
+
+       * 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  <m.hayes@elec.canterbury.ac.nz>
+
+       * 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  <pfeifer@dbai.tuwien.ac.at>
+
+       * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
+
+2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
+
+       * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
+
+2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <ghazi@caip.rutgers.edu>
+
+       * 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  <ghazi@caip.rutgers.edu>
 
        * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.