OSDN Git Service

* config/h8300/h8300.md (anonymous patterns): Check that
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 7283a0c..bee90a4 100644 (file)
@@ -1,3 +1,103 @@
+2002-01-04  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.md (anonymous patterns): Check that
+       operands are registers before using REGNO on them.
+
+2002-01-03  Roland McGrath  <roland@frob.com>
+
+       * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
+
+2002-01-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree.h (expand_expr_stmt_value): Add maybe_last argument.
+       * c-common.h (genrtl_expr_stmt_value): Likewise.
+       * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
+       (expand_expr_stmt_value): Add maybe_last argument.
+       Don't warn about statement with no effect if it is the last statement
+       in expression statement.
+       * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
+       (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
+       expand_expr_stmt_value.
+       (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
+       genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
+       * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
+       as maybe_last to expand_expr_stmt_value.
+
+Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
+
+        * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
+        be passed in, do not build it.
+        (c_begin_if_stmt): New function.
+        (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
+        * c-common.h (c_expand_start_cond): Update prototype.
+        (c_begin_if_stmt): Prototype new function.
+        (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
+        * c-parse.in (if_prefix): Use c_begin_if_stmt,
+        c_begin_while_stmt and c_finish_while_stmt_cond.
+
+2002-01-04  William Cohen  <wcohen@redhat.com>
+
+       * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
+       * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
+       * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
+       * config/pa/som.h (ASM_FILE_START): Likewise.
+
+2001-01-04  Daniel Berlin  <dan@cgsoftware.com>
+
+       * lcm.c: Include df.h.
+       Add available_transfer_function prototype.
+       (compute_available): Rework to use iterative dataflow framework.
+       (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
+       with bb_info in df.h
+       (available_transfer_function): New function.
+
+       * Makefile.in (lcm.o): add df.h to dependencies.
+
+2002-01-04  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (some_operand): Accept HIGH.
+       (input_operand): Likewise; accept simple references to globals.
+       (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
+       (alpha_const_double_ok_for_letter_p): Likewise.
+       (alpha_extra_constraint): Likewise.
+       (alpha_preferred_reload_class): Likewise.  Do not force
+       symbolic constants to memory.
+       (alpha_legitimate_address_p): Accept simple references
+       to small_symbolic_operand.
+       (alpha_legitimize_address): New arg scratch.  Be prepared to be
+       called when no_new_pseudos.  Emit simple symbolic references.
+       Split integers into low, high, and rest.
+       (alpha_expand_mov): Use alpha_legitimize_address.
+       (some_small_symbolic_mem_operand): New.
+       (split_small_symbolic_mem_operand): New.
+       * config/alpha/alpha-protos.h: Update.
+       * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
+       (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
+       (EXTRA_CONSTRAINT): Likewise.
+       (PREFERRED_RELOAD_CLASS): Likewise.
+       (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
+       (PREDICATE_CODES): Update.
+       * config/alpha/alpha.md: New post-reload splitters to convert
+       simplfied symbolic operands to the form that references $29.
+       (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
+       (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
+
+2002-01-03  Richard Henderson  <rth@redhat.com>
+
+       * local-alloc.c (function_invariant_p): Update commentary.
+
+2002-01-04  H.J. Lu <hjl@gnu.org>
+
+       * toplev.c (rest_of_compilation): Fix a typo when calling
+       cleanup_cfg.
+
+2002-01-03  Kazu Hirata  <kazu@hxi.com>
+
+       * c-common.c: Fix formatting.
+       * diagnostic.c: Likewise.
+       * doloop.c: Likewise.
+       * dwarf2out.c: Likewise.
+
 2002-01-03  Kazu Hirata  <kazu@hxi.com>
 
        * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
        (profile_after_prologue): Likewise.
        * function.c (expand_function_start): Likewise.
        (expand_function_start): Likewise.
-       * config/alpha/alpha.c (direct_call_operand): 
+       * config/alpha/alpha.c (direct_call_operand):
        (alpha_does_function_need_gp): Likewise.
        (alpha_expand_prologue): Likewise.
        * config/arm/arm.c (arm_expand_prologue): Likewise.