OSDN Git Service

* config/sh/sh.md (prefetch): New pattern.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 12d3fe5..393e405 100644 (file)
@@ -1,3 +1,303 @@
+2003-11-12  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * config/sh/sh.md (prefetch): New pattern.
+
+2003-11-11  Eric Christopher  <echristo@redhat.com>
+
+       * reload1.c (reload): Verify that addresses for
+       reg_equiv_* are valid for the architecture.
+
+2003-11-11  Eric Christopher  <echristo@redhat.com>
+
+       * function.c (purge_addressof_1): Add libcall check.
+       Remove test for cached replacements on fallback case.
+       Simplify mode comparisons. Add libcall test for
+       paradoxical subregs.
+
+2003-11-11  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/t-h8300: Fix an obsolete comment.
+
+2003-11-11  James E Wilson  <wilson@specifixinc.com>
+
+       * expmed.c (store_bit_field, extract_bit_field): Revert last two
+       changes.
+
+2003-11-11  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/lib1funcs.asm: Replace DenHighZero with
+       DenHighNonZero.
+
+2003-11-11  Jan Hubicka  <jh@suse.cz>
+
+       * cgraphunit.c (cgraph_function_possibly_inlined_p): Use
+       really_no_inline.
+
+2003-11-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa.h (TRAMPOLINE_TEMPLATE): Fix flushing of cache lines when
+       generating 64-bit code.
+
+2003-11-10  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Remove
+       accidental commit in previous change.
+
+2003-11-10  Fariborz Jahanian <fjahanian@apple.com>
+
+       * config/rs6000/rs6000.h (STACK_SIZE_MODE): Add definition.
+       * config/rs6000/rs6000.c (reg_or_mem_operand): Add macho-style
+       address recognition.
+       (macho_lo_sum_memory_operand): Routine to recognize macho-style
+       address recognition.
+
+2003-11-10  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2out.c (gen_label_die): Cope with DECL_RTL not set.
+
+2003-11-10  Matt Austern  <austern@apple.com>
+
+       * config/darwin-protos.h (darwin_assemble_visibility): Declare.
+       * config/darwin.c (darwin_assemble_visibility): Define.  Warn for
+       anything other than VISIBILITY_DEFAULT and VISIBILITY_HIDDEN.
+       * config/darwin.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Use
+       darwin_assemble_visibility instead of default.
+
+2003-11-10  Waldek Hebisch  <hebisch@math.uni.wroc.pl>
+
+       PR target/12865
+       * config/sparc/sparc.c (sparc_initialize_trampoline): Call
+       __enable_execute_stack only after writing onto the stack.
+       (sparc64_initialize_trampoline): Likewise.
+
+2003-11-09  Roger Sayle  <roger@eyesopen.com>
+
+       * loop.c (check_dbra_loop): Try swapping the comparison operands
+       of the loop condition to identify a suitable induction variable.
+       * unroll.c (loop_iterations): Likewise.
+
+2003-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * config/sparc/sparc.h (TARGET_CPU_CPP_BUILTINS): Fix sparc vs
+       sparc64 #cpu and #machine assertions.
+
+2003-11-09  Richard Henderson  <rth@redhat.com>
+
+       * Makefile.in (rtlanal.o): Depend on BASIC_BLOCK_H.
+
+2003-11-09  Jan Hubicka  <jh@suse.cz>
+
+       * tree-optimize.c (tree_rest_of_compilation): Fix warning.
+
+       * cgraphunit.c (cgraph_expand_function): Use
+       cgraph_possibly_inlined_p.
+       * tree-optimize.c (tree_rest_of_compilation): Do not kill saved tree.
+
+       * opts.c (common_handle_option): Do not set max-inline-insns.
+       * params.def: Update comments.
+       (PARAM_MAX_INLINE_INSNS): Kill.
+       * invoke.texi (max-inline-insns): Kill.
+
+2003-11-08  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       PR c/3190
+       PR c/8714
+       * c-format.c (set_Wformat): Do not enable -Wformat-y2k by default.
+       * invoke.texi: Update.
+
+2003-11-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR optimization/12630
+       * pa.c (compute_movstrsi_length): Rename to compute_movstr_length.
+       Handle length computation 64-bit moves.
+       (compute_clrstr_length, output_block_clear): Implement block clear.
+       (output_block_move): Handle 64-bit moves.
+       (pa_adjust_insn_length): Use compute_movstr_length and
+       compute_clrstr_length.
+       * pa.md (movstrsi): Revise operand order and comments.  Don't use
+       match_scratch.
+       (movstrsi_internal): Delete.
+       (movstrsi_prereload, movstrsi_postreload): New insns.  Define splitter
+       and peephole2 patterns to transform prereload to postreload form.
+       (movstrdi, movstrdi_prereload, movstrdi_postreload, clrstrsi,
+       clrstrsi_prereload, clrstrsi_postreload, clrstrdi, clrstrdi_prereload,
+       clrstrdi_postreload): New patterns for 64-bit block move, and block
+       clear.
+       * pa-protos.h (output_block_clear): New prototype.
+
+2003-11-08  Andreas Schwab  <schwab@suse.de>
+
+       * dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO ||
+       XCOFF_DEBUGGING_INFO.
+
+2003-11-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * dbxout.c (current_file): Wrap declaration in DBX_USE_BINCL.
+
+2003-11-07  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/rs6000/rs6000.c (rs6000_legitimize_address): Remove
+       redundant parens.
+
+       * cppfiles.c (pch_open_file): New parameter 'invalid_pch', set it.
+       (find_file_in_dir): Likewise.
+       (_cpp_find_file): Print message if no header file is found
+       but an invalid PCH file was.
+
+2003-11-08  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * c-typeck.c (pedantic_lvalue_warning): Deprecate compound
+       expressions as lvalues.
+       (internal_build_compound_expr): Remove special handling for
+       non-pedantic case.
+       * doc/extend.texi: Document that all extended lvalues are now
+       deprecated.
+
+2003-11-07  Geoffrey Keating  <geoffk@apple.com>
+
+       PR 11654
+       * dbxout.c (struct dbx_file): Do not save for PCH.
+       (current_file): Likewise.
+       (dbxout_init): Don't allocate struct dbx_file using GC.
+       (dbxout_start_source_file): Likewise.
+
+2003-11-07  Falk Hueffner  <falk@debian.org>
+
+       * config/alpha/elf.h, config/alpha/unicosmk.h,
+       config/alpha/vms.h: Convert to ISO C90.
+
+2003-11-07  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * config/arm/pe.h: Convert to ISO C90.
+
+2003-11-07  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh-protos.h (sh_pch_valid_p): Declare.
+       * sh.c ("intl.h"): Include.
+       (TARGET_PCH_VALID_P): Override.
+       (sh_target_switches): New variable.
+       (target_switches): Define.
+       (sh_pch_valid_p): New function.
+
+       * sh.h (MODE_AFTER): Don't change mode unless TARGET_HITACHI.
+
+2003-11-07  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (x86_64_sign_extended_value):  Return false from tls variables.
+       (x86_64_zero_extended_value):  likewise.
+
+2003-11-07  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.md (loadgp): Take $25 as a second operand.
+       * config/mips/mips.c (mips_expand_prologue): Modify accordingly.
+
+2003-11-06  Matt Austern <austern@apple.com>
+
+       * c-common.c (handle_visibility_attribute): Set DECL_VISIBILITY
+       field instead of hanging an attribute object off the decl.
+       * tree.h (DECL_VISIBLITY): New accessor macro for
+       symbol_visibility field in struct tree_decl.
+       (enum symbol_visibility): Move definition to before tree_decl.
+       (struct tree_decl): Define new two-bit field, symbol_visibility.
+       (decl_visibility): Remove declaration.
+       * varasm.c (maybe_assemble_visibility): Use DECL_VISIBILITY
+       instead of decl_visibility.
+       (default_binds_local_p_1):  Use DECL_VISIBILITY instead of
+       decl_visibility.
+       (decl_visibility): Remove.
+
+2003-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.c (s390_emit_epilogue): Recognize more cases
+       where register 14 will be saved.
+
+2003-11-06  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/rs6000/rs6000.h (USE_FP_FOR_ARG_P): Move to rs6000.c.
+       (USE_ALTIVEC_FOR_ARG_P): Likewise.
+       * config/rs6000/rs6000.c (USE_FP_FOR_ARG_P): Move from rs6000.h.
+       Take a pointer as the CUM parameter.  Update callers.
+       (USE_ALTIVEC_FOR_ARG_P): Likewise.  Also correct for Darwin/AIX
+       32-bit ABIs.
+       (function_arg_advance): Use USE_ALTIVEC_FOR_ARG_P.  Correct case
+       of vector parameters as named arguments of stdarg function.
+       (function_arg): Likewise.
+
+       * config/rs6000/darwin.h (ASM_SPEC): Use -force_cpusubtype_ALL when
+       -maltivec is specified, not the non-existent -faltivec.
+
+2003-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390-protos.h (s390_function_value): Declare.
+       * config/s390/s390.c (TARGET_RETURN_IN_MEMORY): Define.
+       (s390_return_in_memory): New function.
+       (s390_function_value): New function.
+       (s390_function_arg_float): Return false for all arguments larger
+       than 8 bytes.
+       (s390_function_arg_pass_by_reference): Likewise.  Return true for
+       all vector arguments.
+       (s390_function_arg_integer): New function.
+       (s390_function_arg_advance): Call it.  Add sanity checks.
+       (s390_function_arg): Likewise.
+       * config/s390/s390.h (FUNCTION_VALUE): Call s390_function_value.
+       (LIBCALL_VALUE): Likewise.
+       (RET_REG): Remove.
+       (RETURN_IN_MEMORY): Remove.
+
+2003-11-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips-protos.h (mips_initial_elimination_offset): Change
+       return type to HOST_WIDE_INT.
+       * config/mips/mips.c (mips_frame_info): Give sizes type HOST_WIDE_INT.
+       Make initialized a bool.  Make register masks unsigned ints.
+       (compute_frame_size): Make same mask change here.  Use HOST_WIDE_INT
+       where appropriate.
+       (mips_initial_elimination_offset): Return a HOST_WIDE_INT.
+       (mips_output_function_prologue): Print sizes as HOST_WIDE_INTs.
+
+2003-11-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/frv/frv.c (frv_initial_elimination_offset): Remove bogus
+       negation.
+
+2003-11-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/frv/frv.h (ASM_OUTPUT_ALIGN_WITH_NOP): Define.
+
+2003-11-06  Momchil Velikov  <velco@fadata.bg>
+
+       * config/mips/mips.c (override_options): Set MASK_SOFT_FLOAT
+       for VR4111 too.
+
+2003-11-06  Jan Hubicka  <jh@suse.cz>
+
+       * builtins.c (simplify_builtin_strrchr, simplify_builtin_strpbrk): Add
+       missing casts.
+
+2003-11-06  Zack Weinberg  <zack@codesourcery.com>
+
+       * genmodes.c: Change the word "bitsize" to "precision" throughout.
+       * machmode.def: Likewise.
+       * machmode.h (GET_MODE_SIZE): Cast value to unsigned short.
+       (GET_MODE_BITSIZE): Define as GET_MODE_SIZE * BITS_PER_UNIT.
+       (GET_MODE_PRECISION): New macro.
+       (mode_bitsize): Renamed mode_precision.
+       * stor-layout.c (mode_for_size, smallest_mode_for_size):
+       Use GET_MODE_PRECISION; clarify comments.
+
+2003-11-05  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * doc/install-old.texi: Remove old documentation of building
+       cross-compilers.
+       * doc/install.texi: Move some of it to here.
+
+2003-11-05  Per Bothner  <pbothner@apple.com>
+
+       PR preprocessor/12891
+       * c-opts.c (finish_options):  Set include_cursor to disable premature
+       calls to push_command_line_include from cpp_scan_nooutput.
+       Fixes bug reported by DJ Delorie.
+
 2003-11-05  Geoffrey Keating  <geoffk@apple.com>
 
        * config/rs6000/rs6000.c (setup_incoming_varargs): Remove
@@ -8,6 +308,7 @@
 
 2003-11-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
 
+       PR optimization/10080
        * cfgloopanal.c (variable_initial_value, variable_initial_values,
        simple_loop_exit_p): Record the fact that initial value is extended
        from inner mode.