+2003-01-24 Andreas Schwab <schwab@suse.de>
+
+ * stor-layout.c (excess_unit_span): Only define if used.
+
+2003-01-24 Jerry Quinn <jlquinn@optonline.net>
+
+ * gcc/doc/invoke.texi (Optimization Options): List -O levels
+ for each optimization flag.
+
+2003-01-24 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.md (*andsi3_ashift_n_lower): New.
+
+2003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ * doc/bugreport.texi: Use @command instead of @code for commands.
+ * doc/collect2.texi: Likewise.
+ * doc/headerdirs.texi: Likewise.
+ * doc/invoke.texi: Likewise.
+ * doc/standards.texi: Likewise.
+ * doc/tm.texi: Likewise.
+ * doc/trouble.texi: Likewise.
+
+2003-01-24 Nick Clifton <nickc@redhat.com>
+
+ * config/arm/arm.c (use_return_insn): Do not use a single return
+ instruction for interrupt handelrs which have to create a stack
+ frame.
+ (arm_expand_prologue): Do not pre-bias the return address of
+ interrupt handlers which create a stack frame.
+
+2003-01-24 Nick Clifton <nickc@redhat.com>
+
+ * Add sh2e support:
+
+ 2002-08-12 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle
+ med_cbranches. Fix logic in short_cbranches.
+
+ 2002-04-03 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/sh/sh.md (delay for cbranch): Don't annul delay
+ slots on SH2e.
+ * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for
+ cbranch with unfilled delay slot on SH2e.
+ (output_branch): Fill with a nop the delay slot of a
+ branch that required a delay slot but didn't get one.
+
+ 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
+
+ * doc/invoke.texi (SH options): Document -m2e.
+ * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__.
+ * config/sh/lib1funcs.asm: Likewise.
+ * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E.
+ * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and
+ not __sh1__.
+ (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from
+ SH2E up.
+ (SH3E_BIT): Renamed to...
+ (SH_E_BIT): ... this. Replace all uses.
+ (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2.
+ Replace all uses of TARGET_SH3E with TARGET_SH2E.
+ (TARGET_SWITCHES): Added 2e.
+ (OVERRIDE_OPTIONS): Set sh_cpu for SH2E.
+ (processor_type): Added PROCESSOR_SH2E.
+ * config/sh/sh.md: Replace all uses of TARGET_SH3E with
+ TARGET_SH2E, except in sqrtsf2_i.
+ (attribute cpu): Added sh2e.
+ * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e.
+ (MULTILIB_MATCHES): Use m2e multilib for m3e.
+ * config.gcc: Add sh2e target support.
+
+2003-01-24 Phil Edwards <pme@gcc.gnu.org>
+
+ Rename -W to -Wextra.
+ * c-decl.c: Update comments.
+ * c-typeck.c: Likewise.
+ * flags.h: Likewise.
+ * function.c: Likewise.
+ * stmt.c: Likewise.
+ * toplev.c: Update comments.
+ (W_options): Add 'extra'.
+ (display_help): Remove '-W'.
+ (decode_W_option): Special warn_uninitialized treatment in the case
+ of -Wextra.
+ * doc/invoke.texi: Update with new entries.
+
+2003-01-23 Richard Henderson <rth@redhat.com>
+
+ * ifcvt.c (noce_process_if_block): Re-add check vs X being changed
+ in no-else-block case. Add commentary.
+
+2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * configure.in: Revert last change.
+
+2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * configure.in: Don't include ansidecl.h in tconfig.h.
+ * gcov-io.h (PARAMS, ATTRIBUTE_UNUSED: Define if IN_LIBGCC2.
+ * unwind-dw2-fde.h (last_fde): Use __attribute__, not
+ ATTRIBUTE_UNUSED.
+
+ * configure: Regenerate.
+
+2003-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+ PR java/6748
+ * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy
+ regs->nip. Fix rt_sigreturn frame layout. Add support for newer
+ kernels.
+
+2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * cpplex.c (cpp_interpret_charconst): Squelch warning with cast.
+
+2003-01-23 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * genattrtab.c (write_attr_get): Mark 'insn' paramter
+ as ATTRIBUTE_UNUSED.
+
+2003-01-23 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm.c (thumb_base_register_rtx_p): New function.
+ (thumb_index_register_rtx_p): New function.
+ (thumb_legitimate_address_p): New function.
+ (thumb_legitimate_offset_p): New function.
+ * arm.h (REG_STRICT_P): Define according to setting of REG_OK_STRICT.
+ (ARM_GO_IF_LEGITIMATE_ADDRESS): Use REG_STRICT_P to avoid duplicate
+ definitions.
+ (THUMB_GO_IF_LEGITIMATE_ADDRESS): Use thumb_legitimate_address_p.
+ (THUMB_LEGITIMATE_OFFSET): Delte.
+ (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use thumb_legitimate_offset.
+ * arm-protos.h (thumb_legitimate_address_p): Add prototype.
+ (thumb_legitimate_offset_p): Likewise.
+
+2003-01-23 Andreas Schwab <schwab@suse.de>
+
+ * unwind.h (_Unwind_GetTextRelBase): Mark parameter as unused.
+
+2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * fixinc/Makefile.in (FL_LIST): Revert last change.
+
+2003-01-23 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR other/7341
+ * invoke.texi (ftest-coverage): Fix broken cross-reference.
+ Change @code to @command for gcov command.
+
+ * gcc.texi: Adjust title of gcov section.
+ Adjust copyright.
+ * gcov.texi: Likewise.
+
+2003-01-22 Roger Sayle <roger@eyesopen.com>
+
+ PR optimization/8423
+ * cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when
+ its argument is constant, or 0 if !flag_gcse.
+ * simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1
+ if it's argument is constant.
+ * gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes.
+ (hash_scan_set): Don't record CONSTANT_P_RTX expressions.
+ (do_local_cprop): Don't propagate CONSTANT_P_RTX constants.
+ * builtins.c (purge_builtin_constant_p): New function to force
+ instantiation of any remaining CONSTANT_P_RTX nodes.
+ * rtl.h (purge_builtin_constant_p): Prototype here.
+ * toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p
+ pass after GCSE and before loop.
+ (flag_gcse): No longer static.
+ * flags.h (flag_gcse): Prototype here.
+
+2003-01-22 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression
+ introduced by last change.
+
+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
2003-01-20 Richard Henderson <rth@redhat.com>
- PR opt/7507
+ PR opt/7154
* stmt.c (expand_asm_operands): Validize memory operands.
2003-01-20 Richard Henderson <rth@redhat.com>