OSDN Git Service

* gcj.texi (Input and output files): Mention non-class entries.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index ff97b31..95eae8b 100644 (file)
@@ -1,3 +1,237 @@
+2003-01-22  Andreas Schwab  <schwab@suse.de>
+
+       * ra-rewrite.c (rewrite_program2): Initialize bb to avoid warning.
+
+2003-01-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
+       request a scratch reg on H8S when the shift count is 8.
+
+2003-01-22  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390-protos.h (preferred_la_operand_p):
+       Remove second parameter.
+       * config/s390/s390.c (preferred_la_operand_p): Likewise.
+       * config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros.
+       (HARD_REGNO_MODE_OK): Use FRAME_REGNO_P.
+       * config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove.
+       Add peepholes to transform ADD to LOAD ADDRESS.
+
+2003-01-22  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.c (arm_address_register_rtx_p): New function.
+       (arm_legitimate_address_p): New function.
+       (arm_legitimate_index_p): New function.
+       (legitimize_pic_address): Use arm_legitimate_index_p.
+       * arm-protos.h (arm_legtimate_address_p): Add prototype.
+       * arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete.
+       (ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p.
+
+2003-01-22  Hartmut Penner  <hpenner@de.ibm.com>
+
+       * config/s390/s390.md (floatdfdi2): Insn has type 'itof'.
+       * config/s390/2064.md (define_bypass): Correct 'Load' and
+       'Load-address' bypass values.
+       
+2003-01-22  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error.
+
+2003-01-21  Zack Weinberg  <zack@codesourcery.com>
+
+       * genautomata.c (output_internal_insn_latency_func,
+       output_print_reservation_func): Short circuit when there is no
+       automaton to generate code for.
+
+2003-01-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H).
+       (df.o): Delete duplicate dependency on coretypes.h $(TM_H).
+
+2003-01-21  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/rs6000/rs6000.md: Remove warning.
+       (builtin_setjmp_receiver): Likewise.
+       * config/darwin.c (update_stubs): Slightly improve terrible hack
+       with identifiers.  Add comment pointing out problems with it.
+       (update_non_lazy_ptrs): Likewise.
+
+2003-01-21  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2out.c (lookup_filename): Fix printf format warning.
+       * system.h (fread_unlocked, fwrite_unlocked): Undef.
+
+       * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook.
+       (fixincl.o-warn, gnu-regex.o-warn): New.
+       * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused.
+       * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise.
+       * fixinc/fixincl.c (process): Fix printf format warning.
+
+2003-01-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * dwarf2out (output_file_names): Don't crash if called
+       with empty file_table.
+
+2003-01-21  Zack Weinberg  <zack@codesourcery.com>
+
+       * genautomata.c (output_internal_insn_latency_func): Add
+       missing break statement to generated code.
+
+2003-01-21  Roger Sayle  <roger@eyesopen.com>
+
+       * stmt.c (same_case_target_p): New function to determine whether
+       two case labels branch to the same target.  Split out from...
+       (group_case_nodes): ... here.  Use same_case_target_p instead.
+       (strip_default_case_nodes): Remove explicit case nodes
+       that branch to the default destination.
+       (expand_end_case_type): Call strip_default_case_nodes after
+       group_case_nodes, to simplify the case-list before we count it.
+       Only generate table_label RTX when actually needed.  Try to share
+       thiscase->exit_label and thiscase->data.case_stmt.default_label
+       when a switch has no explicit default case.  Simplify test for
+       constant index.
+
+2003-01-21  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md (*negsf2_h8300): Use \\t instead of
+       \t.
+       (*negsf2_h8300hs): Likewise.
+       (*addsi3_lshiftrt_16_zexthi): Likewise.
+       (*iorhi3_lshiftrt_8): Likewise.
+
+2003-01-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * dwarf2out.c (fde_table_in_use): Mark GTY.
+       (dwarf2out_cfi_label_num): New variable, marked GTY.
+       (dwarf2out_cfi_label): Use it instead of static label_num.
+       * emit-rtl.c (label_num): Mark GTY.
+
+2003-01-21  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (output_plussi): Support H8/300.
+       (compute_plussi_length): Likewise.
+       (compute_plussi_cc): Likewise.
+       * config/h8300/h8300.md (addsi_h8300): Use output_plussi to
+       output assembly instructions.
+
+2003-01-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * calls.c (fix_unsafe_tree): Prototype.
+
+       * Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn)
+       (gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn,
+       insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn,
+       c-parse.o-warn): Add -Wno-error.
+       (STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@".
+
+       * configure.in (--enable-werror): Add new flag.
+       * doc/install.texi (--enable-werror): Document.
+       * configure: Regenerate.
+
+       * objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error.
+
+2003-01-21  Andreas Schwab  <schwab@suse.de>
+
+       * genautomata.c (output_internal_insn_latency_func): Fix missing
+       close paren in output.
+
+2003-01-21  Zack Weinberg  <zack@codesourcery.com>
+
+       * genautomata.c: Space savings in generated code:
+       (output_dfa_insn_code_func): Split out the table-enlargement
+       path to an out-of-line static function, dfa_insn_code_enlarge.
+       (output_internal_insn_latency_func): Use a lookup table for the
+       default latencies.
+       (output_print_reservation_func): Use a lookup table for the
+       strings.
+
+2003-01-21  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
+
+       PR opt/7507
+       * calls.c (fix_unsafe_tree): Split out from ...
+       (expand_call): ... here.  Use it on the function address too.
+
+2003-01-20  Richard Henderson  <rth@redhat.com>
+
+       * expr.h (default_must_pass_in_stack): Move decl outside ifdef.
+
+2003-01-20  Richard Henderson  <rth@redhat.com>
+
+       PR opt/7154
+       * stmt.c (expand_asm_operands): Validize memory operands.
+
+2003-01-20  Richard Henderson  <rth@redhat.com>
+
+       PR opt/8848
+       * ifcvt.c (noce_process_if_block): Correct arguments to
+       modified_between_p for no-else-block case.
+
+2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (const_costs): Remove a warning.
+       (output_plussi): Likewise.
+       (compute_plussi_length): Likewise.
+       (compute_plussi_cc): Likewise.
+
+2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md (addsi_h8300): Remove the last
+       alternative.
+
+2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
+
+2003-01-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * system.h (__NO_STRING_INLINES): Define.
+
+2003-01-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
+       is not a scalar int mode.
+
+2003-01-20  Roger Sayle  <roger@eyesopen.com>
+
+       * cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL
+       insn's notes following a substitution inside a libcall.
+
+2003-01-20  Zack Weinberg  <zack@codesourcery.com>
+
+       * configure.in: Check for system-provided 'uchar' type.
+       * configure, config.in: Regenerate.
+       * cpphash.h: Only typedef 'uchar' if the system doesn't.
+
+2003-01-20  Richard Henderson  <rth@redhat.com>
+
+       * expr.h (MUST_PASS_IN_STACK): Move implementation...
+       * calls.c (default_must_pass_in_stack): ... here.
+
+2003-01-20  Vladimir Makarov  <vmakarov@redhat.com>
+
+       * genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c.
+
+       * genautomata.c (INSN_ALTS_FUNC_NAME): Move it into genattrtab.h.
+
+       * genattr.c (main): Output default definition of AUTOMATON_ALTS.
+       Wrap up definition of `insn_alts'.
+
+       * genattrtab.c (main): Wrap up `insn_alts'.
+
+2003-01-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before
+       prototyping.
+       * configure.in: Check for <ldfcn.h> and ldgetname() prototype.
+
+       * config.in, configure: Regenerate.
+
+2003-01-20  Nick Clifton  <nickc@redhat.com>
+
+       * config/arm/arm.md (sibcall_epilogue): Add an
+       UNSPEC_PROLOGUE_USE to prevent the link register from being
+       considered dead.
+
 Mon Jan 20 14:36:23 CET 2003  Jan Hubicka  <jh@suse.cz>
 
        * i386.md (SSE cmov splitter):  Handle memory operand in operand 5.
@@ -72,7 +306,7 @@ Mon Jan 20 14:36:23 CET 2003  Jan Hubicka  <jh@suse.cz>
 
 2003-01-17  Dale Johannesen  <dalej@apple.com>
 
-        * config/rs6000/rs6000.md (*floatsidf2_internal):  Add earlyclobbers.
+       * config/rs6000/rs6000.md (*floatsidf2_internal):  Add earlyclobbers.
          (*floatunssidf2_internal):  Ditto.
 
 2003-01-17  Kazu Hirata  <kazu@cs.umass.edu>
@@ -198,8 +432,8 @@ Mon Jan 20 14:36:23 CET 2003  Jan Hubicka  <jh@suse.cz>
 
 2003-01-16  Kaz Kojima  <kkojima@gcc.gnu.org>
 
-        * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
-        instead of rotldi3_mextr.
+       * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
+       instead of rotldi3_mextr.
 
 2003-01-16  Vladimir Makarov  <vmakarov@redhat.com>
 
@@ -220,7 +454,7 @@ Mon Jan 20 14:36:23 CET 2003  Jan Hubicka  <jh@suse.cz>
        account.
        (can_schedule_ready_p): Ditto.
        (add_branch_dependences): Restore skipping over the group insns.
-       
+
 2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
 
        * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling