OSDN Git Service

* gccbug.in: Fix typo.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 23c0eb5..721eef9 100644 (file)
@@ -1,3 +1,146 @@
+2000-12-21  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * gccbug.in: Fix typo.
+
+2000-12-20  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * Makefile.in (gcc_gxx_target_include_dir): Use instead of
+       build_tooldir and libstdcxx_incdir.
+
+2000-12-20  Robert Lipe <robertlipe@usa.net>
+
+       * haifa-sched.c (schedule_block): Provide empty source statement
+       if not MD_SCHED_REORDER2.
+
+2000-12-20  Richard Henderson  <rth@redhat.com>
+
+       * rtl.h (REG_NON_LOCAL_GOTO): New.
+       * rtl.c (reg_note_name): Update.
+       * stmt.c (expand_goto): Emit a REG_NON_LOCAL_GOTO note.
+       * builtins.c (expand_builtin_longjmp): Likewise.
+       * flow.c (make_edges): Check for REG_NON_LOCAL_GOTO and do
+       not emit an edge.
+
+2000-12-20  Marek Michalkiewicz  <marekm@linux.org.pl>
+
+       * config/avr/avr.c (out_movsi_r_mr, out_movsi_mr_r, out_movhi_mr_r):
+       Do not output undefined opcodes where source or destination register
+       overlaps with modified pointer register.  Handle (X + d) addresses.
+       * config/avr/avr.md (*movhi, *movsi, *movsf): Correct insn length
+       in alternatives with memory operand.
+
+2000-12-20  Richard Henderson  <rth@redhat.com>
+
+        * c-typeck.c (build_asm_stmt): New, broken out from ...
+        (c_expand_asm_operands): ... here.  Just do rtl expansion.
+        (c_expand_return): Return the new stmt node.
+        (c_start_case, do_case): Likewise.
+        * c-common.c (c_expand_expr_stmt): Likewise.
+        * c-common.h: Update declarations.
+        * c-tree.h: Likewise.
+        * c-semantics.c (build_stmt): Use STMT_LINENO not TREE_COMPLEXITY.
+        * c-parse.in (fndef): Set DECL_SOURCE_LINE to the open brace.
+        (nested_function, notype_nested_function): Likewise.
+        (compstmt): Return the compound statement not the binding level.
+        (lineno_labeled_stmt): Simplify.
+        (lineno_stmt, lineno_label): Set STMT_LINENO.
+        (stmt, label): Return the new stmt node.
+
+2000-12-20  Bernd Schmidt  <bernds@redhat.com>
+
+       * Makefile.in (OBJS): Add sched-ebb.o.
+       (sched-ebb.o): New rule.
+       (sched-vis.o): Depend on hard-reg-set.h and $(BASIC_BLOCK_H).
+       (haifa-sched.o): Depend on insn-flags.h.
+       * haifa-sched.c: Include "insn-flags.h".
+       (priority): Don't access BLOCK_NUM, use the new contributes_to_priority
+       callback.
+       * rtl.h (schedule_ebbs): Declare.
+       * sched-int.h (struct sched_info): Add new members
+       contributes_to_priority and compute_jump_reg_dependencies.
+       * sched-rgn.c (contributes_to_priority, compute_jump_reg_dependencies):
+       New functions.
+       (region_sched_info): Add them.
+       * sched-vis.c: Include "hard-reg-set.h" and "basic-block.h".
+       * sched-ebb.c: New file.
+       * sched-deps.c (sched_analyze_insn): Add code to handle JUMP_INSNs.
+
+       * flow.c (ior_reg_cond, and_reg_cond, elim_reg_cond): Properly
+       handle all relational operators.
+
+2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
+
+       * final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
+       * tm.texi: Document it.
+
+2000-12-19  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir
+       instead of gcc_tooldir.
+
+2000-12-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * system.h (getopt): Update prototype to match include/getopt.h.
+
+2000-12-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       From Jeff Law.
+       * pa.c (basereg_operand): Simplify.
+
+2000-12-19  Bernd Schmidt  <bernds@redhat.co.uk>
+
+       * haifa-sched.c (rm_line_notes): Arguments are now head and tail,
+       not block number.  All callers and prototype changed.
+       (set_priorities): Likewise.
+       (save_line_notes): Add head and tail arguments; all callers and
+       prototype changed.
+       (restore_line_notes): Likewise.  Don't crash on insns generated
+       during scheduling.
+       (schedule_block): Don't use BLOCK_HEAD/BLOCK_END macros.
+       Call MD_SCHED_INIT with additional argument.
+       When starting a new cycle, emit cycle_display insns if available.
+       Don't stop scheduling when encountering a JUMP_INSN, but add another
+       call to schedule_more_p in the inner loop.
+       Call MD_SCHED_REORDER2 after scheduling an insn.
+       Call MD_SCHED_FINISH once all insns are scheduled.
+       (sched_init): Compensate for the fact that get_block_head_tail
+       doesn't include leading notes.
+       * sched-deps.c (free_deps): Free vectors here.
+       * sched-rgn.c (compute_block_backward_dependencies): Not here.
+       (last_was_jump): New static variable.
+       (schedule_more_p): Test it.
+       (init_ready_list): Initialize it.
+       (can_schedule_ready_p): Set it if we have a JUMP_INSN.
+
+       * config/i386/i386.h (MD_SCHED_INIT): Add new arg.
+       * config/m32r/m32r.h (MD_SCHED_INIT): Add new arg.
+       * config/sparc/sparc.h (MD_SCHED_INIT): Add new arg.
+
+       * md.texi (cycle_display): Document.
+       * tm.texi (MD_SCHED_INIT): Document new arg.
+       (MD_SCHED_FINISH, MD_SCHED_REORDER2): Document.
+
+       * flow.c (ior_reg_cond, nand_reg_cond, not_reg_cond): Rewrite
+       to use different representation.  All callers changed.
+       (and_reg_cond): Renamed from nand_reg_cond; caller changed.
+       (init_propagate_block_info): Don't test flags to determine
+       whether to compute conditional lifetimes.
+       Adjust code for new representation of conditional lifetimes.
+       (mark_regno_cond_dead): Similar adjustment.
+       (free_reg_cond_life_info): Similar adjustment.
+       (elim_reg_cond): New function.
+       (flush_reg_cond_1): Use it.
+
+2000-12-19  Catherine Moore  <clm@redhat.com>
+
+       * reload1.c (reload_combine): Take multi-hard-regs into account
+       when processing CALL_INSN_FUNCTION_USAGE.
+
+2000-12-19  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * invoke.texi (-print-search-dirs): Make references to cpp refer
+       to cpp0 instead.
+
 2000-12-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * fold-const.c (tree_expr_nonnegative_p): Treat truth values as