OSDN Git Service

* gcj.texi (Input and output files): Mention non-class entries.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 0d6d87b..95eae8b 100644 (file)
@@ -1,3 +1,417 @@
+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.
+
+2003-01-20  Andreas Schwab  <schwab@suse.de>
+
+       * system.h: Don't declare strsignal if the decl test hasn't been
+       run yet.
+
+2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (notice_update_cc): Don't assume that
+       recog_data.operands[0] is always associated with cc0.
+
+2003-01-19  David Edelsohn  <edelsohn@gnu.org>
+
+       * collect2.c (ldgetname): Expand declaration to prototype.
+       * read-rtl.c (atoll): Add prototype.
+       * system.h (strsignal): Also declare if no declaration found.
+
+2003-01-19  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config.gcc (mips64*-*-linux*): Added.
+       * config/mips/linux64.h, config/mips/t-linux64: New file.
+       * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define.
+       * config/mips/mips.c (override_options): Use it.
+       * config/mips/mips.h (TARGET_SWITCHES): Added...
+       (SUBTARGET_TARGET_SWITCHES): New, empty by default.
+       * Makefile.in (SPECS): New.
+       (STAGESTUFF, specs, mostlyclean, install-common): Use it.
+       * gcc.c (process_command): Move self-spec processing past spec
+       file loading.
+       * doc/tm.texi (DRIVER_SELF_SPECS): Document the change.
+       * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for
+       CRTSTUFF_T_CFLAGS.
+       (SPECS): Document.
+       * doc/invoke.texi (-mabi-fake-default): Document.
+
+2003-01-19  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word,
+       z_reg, z_reg_qi): Declare static and GTY().
+       (da_reg): Remove.
+       (create_regs_rtx): Don't create da_reg.
+       ("gt-m68hc11.h"): Include for GTY roots.
+       * config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern
+       and GTY() here.
+       (m68hc11_compare_op0, m68hc11_compare_op1): Likewise.
+       (m68hc11_soft_tmp_reg): Likewise.
+       * config/m68hc11/m68hc11-protos.h: Remove above declarations.
+
+2003-01-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * basic-block.h: Fix comment formatting.
+       * calls.c: Likewise.
+       * combine.c: Likewise.
+       * convert.c: Likewise.
+       * gcov.c: Likewise.
+       * haifa-sched.c: Likewise.
+       * libgcc2.c: Likewise.
+       * loop.c: Likewise.
+       * profile.c: Likewise.
+       * system.h: Likewise.
+
+2003-01-18  Roger Sayle  <roger@eyesopen.com>
+
+       * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
+
+2003-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * ra-build.c (undef_to_size_word): Avoid `switch' warning.
+
+2003-01-17  Dale Johannesen  <dalej@apple.com>
+
+       * config/rs6000/rs6000.md (*floatsidf2_internal):  Add earlyclobbers.
+         (*floatunssidf2_internal):  Ditto.
+
+2003-01-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * alias.c: Fix comment typos.
+       * basic-block.h: Likewise.
+       * c-common.c: Likewise.
+       * c-common.h: Likewise.
+       * c-decl.c: Likewise.
+       * c-opts.c: Likewise.
+       * c-pragma.c: Likewise.
+       * c-pretty-print.h: Likewise.
+       * cfg.c: Likewise.
+       * cfganal.c: Likewise.
+       * cfgbuild.c: Likewise.
+       * cfgcleanup.c: Likewise.
+       * cfglayout.c: Likewise.
+       * cfgrtl.c: Likewise.
+       * convert.c: Likewise.
+       * cpphash.h: Likewise.
+       * cpplex.c: Likewise.
+       * cpplib.h: Likewise.
+       * df.h: Likewise.
+       * diagnostic.c: Likewise.
+       * diagnostic.h: Likewise.
+       * dwarf2.h: Likewise.
+
+2003-01-17  Stan Shebs  <shebs@apple.com>
+
+       * config/darwin-protos.h: Forward-declare struct cpp_reader.
+
+2003-01-17  Douglas B Rupp  <rupp@gnat.com>
+
+       * config/alpha/alpha.c (alpha_need_linkage): Fix obvious
+       mistake in last checkin.
+
+2003-01-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * et-forest.c: Fix comment typos.
+       * et-forest.h: Likewise.
+       * except.c: Likewise.
+       * expr.c: Likewise.
+       * flags.h: Likewise.
+       * flow.c: Likewise.
+       * gcc.c: Likewise.
+       * gcse.c: Likewise.
+       * genattrtab.c: Likewise.
+       * genautomata.c: Likewise.
+       * gengtype.c: Likewise.
+       * genrecog.c: Likewise.
+       * global.c: Likewise.
+       * gthr-rtems.h: Likewise.
+
+2003-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * i386.c (x86_function_profiler): Fix format specifier.
+
+2003-01-17  Richard Henderson  <rth@redhat.com>
+
+       * gengtype.c (walk_type): Allow paramN_is.
+
+2003-01-17  Nick Clifton  <nickc@redhat.com>
+
+       * config/i960/t-960bare (i960-c.o): Add missing newline escape.
+
+2003-01-16  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.
+
+2003-01-16  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY.
+       (alpha_next_sequence_number): Likewise.
+       (alpha_this_literal_sequence_number): Likewise.
+       (alpha_this_gpdisp_sequence_number): Likewise.
+       (struct alpha_funcs, alpha_funcs_num): Likewise.
+       (struct alpha_links): Fix branch merge error.
+       (alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs.
+
+2003-01-17  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/mips/mips.h: Don't use #elif.  Reported by Kaveh
+       R. Ghazi.
+
+2003-01-16  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * ifcvt.c: Fix comment typos.
+       * lcm.c: Likewise.
+       * libgcc2.c: Likewise.
+       * local-alloc.c: Likewise.
+       * loop.c: Likewise.
+       * predict.c: Likewise.
+       * ra-build.c: Likewise.
+       * ra.c: Likewise.
+       * ra-colorize.c: Likewise.
+       * ra.h: Likewise.
+       * ra-rewrite.c: Likewise.
+       * regmove.c: Likewise.
+       * reload.h: Likewise.
+       * rtlanal.c: Likewise.
+       * toplev.c: Likewise.
+       * tree.h: Likewise.
+       * unwind-dw2-fde-glibc.c: Likewise.
+       * vmsdbgout.c: Likewise.
+
 2003-01-16  Richard Henderson  <rth@redhat.com>
 
        * dwarf2out.c (struct file_table): Remove.
 
 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>
 
        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