OSDN Git Service

* gcc.dg/builtins-config.h: Use <sys/types.h> instead of <limits.h> because the
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index ff6a404..bb7666b 100644 (file)
@@ -1,3 +1,483 @@
+2004-12-06  Nick Clifton  <nickc@redhat.com>
+
+       * gcc.dg/builtins-config.h: Use <sys/types.h> instead of
+       <limits.h> because the latter comes from gcc's include/ directory
+       and not the newlib/libc/include directory.
+
+2004-12-05  Daniel Berlin <dberlin@dberlin.org>
+
+       * tree-ssa-alias.c (create_global_var): Use void_type_node,
+       not size_type_node.
+
+2004-12-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * expr.c (expand_expr_real_1): Abort on COND_EXPR of
+       VOID_TYPE.
+
+2004-12-05  Richard Henderson  <rth@redhat.com>
+
+       PR target/18841
+       * config/alpha/alpha.md (UNSPECV_SETJMPR_ER): New.
+       (builtin_setjmp_receiver_er_sl_1): Use it.
+       (builtin_setjmp_receiver_er_1): Likewise.
+       (builtin_setjmp_receiver_er, exception_receiver_er): Remove.
+       (builtin_setjmp_receiver): Don't split for explicit relocs until
+       after reload.
+       (exception_receiver): Likewise.
+
+2004-12-05  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * mklibgcc.in (vis_hide): Add the prototype for the test.
+
+2004-12-05  Roger Sayle  <roger@eyesopen.com>
+
+       * c-typeck.c (c_finish_loop): Improve initial implementations
+       for loops whose conditions are known at compile-time.
+
+2004-12-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * builtins.c: Fix comment typos.
+
+2004-12-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR middle-end/18730
+       * emit-rtl.c (get_first_nonnote_insn, get_last_nonnote_insn): When
+       the first/last insn is a sequence, return the first/last insn of the
+       sequence.
+
+       PR bootstrap/18804
+       * mklibgcc.in (vis_hide): Use implementation instead of declaration
+       for test function.
+
+2004-12-04  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (alpha_expand_unaligned_load): Don't forget to
+       use ofs in BWX two byte special case.
+       (alpha_expand_unaligned_store): Likewise.
+
+2004-12-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * gcse.c (gcse_main): Add a comment.
+
+2004-12-04  Andrew  Pinski  <pinskia@physics.uc.edu>
+
+       PR middle-end/17909
+       * builtins.c (fold_builtin_next_arg): Export and return true
+       when there is a warning or an error.
+       (expand_builtin_va_start): When fold_builtin_next_arg returns true,
+       return const0_rtx.
+       (expand_builtin): Likewise.
+       * gimplify.c (gimplify_call_expr): Error out if there is not
+       enough arguments to va_start. Call fold_builtin_next_arg also
+       on the second argument.
+       * tree.h (fold_builtin_next_arg): Prototype.
+
+2004-12-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * mklibgcc.in: Build shared libgcc and shared libunwind in gcc/.
+       Don't subst shlib_dir for SHLIB_LINK, SHLIBUNWIND_LINK,
+       SHLIB_INSTALL, and SHLIBUNWIND_INSTALL.
+       * config/i386/t-nwld (SHLIB_NAME): Use shlib_base_name in place of
+       shlib_dir and shlib_so_name.
+       * config/mips/t-slibgcc-irix (SHLIB_NAME): Likewise.
+       * config/t-libunwind-elf (SHLIB_NAME): Likewise.
+       * config/t-slibgcc-darwin (SHLIB_NAME): Likewise.
+       * config/t-slibgcc-elf-ver (SHLIB_NAME): Likewise.
+       * config/t-slibgcc-sld (SHLIB_NAME): Likewise.
+       (SHLIB_LINK): Don't use shlib_dir when creating symlink.
+
+2004-12-03  Roger Sayle  <roger@eyesopen.com>
+
+       * doc/tm.texi (TARGET_DELEGITIMIZE_ADDRESS): Document target hook.
+
+2004-12-03  Richard Henderson  <rth@redhat.com>
+
+       * alias.c (component_uses_parent_alias_set): Rename from
+       can_address_p.  Return bool.  Reverse the sense of the result.
+       Reinstate the check for alias set zero.
+       (get_alias_set): Update to match.
+       * alias.h (component_uses_parent_alias_set): Likewise.
+       * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
+       * expr.c (expand_assignment): Likewise.
+       * expr.h: Remove commented out prototypes that were moved to alias.h.
+
+2004-12-03  Richard Henderson  <rth@redhat.com>
+
+       * doc/tm.texi (TARGET_BUILD_BUILTIN_VA_LIST): New.
+       (TARGET_CANNOT_FORCE_CONST_MEM): New.
+
+2004-12-04  Alan Modra  <amodra@bigpond.net.au>
+
+       PR middle end/18718
+       * sched-rgn.c (schedule_region): Don't assume REG_SAVE_NOTEs are
+       in pairs.
+       * sched-ebb.c (schedule_ebb): Likewise.
+
+2004-12-03  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (HOSTHOOKS_DEF_H): Define.
+       (ggc-common.o): Depend on $(HOSTHOOKS_DEF_H).
+       (host-default.o): Likewise.
+
+2004-12-03  Eric Christopher  <echristo@redhat.com>
+
+       * config/stormy16/stormy16.md (pushqi, popqi, pushhi,
+       pophi): Add number of arguments to name so that the
+       pattern is recognized as a named pattern.
+
+2004-12-03  Janis Johnson  <janis187@us.ibm.com>
+
+       * doc/extend.texi (AltiVec Builtins): Fix info about signedness.
+
+2004-12-03  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * config/rs6000/rs6000.c (rs6000_override_options): Protect
+       darwin_one_byte_bool with #if.
+
+2004-12-03  Paolo Bonzini  <bonzini@gnu.org>
+
+       * doc/tm.texi (Misc): Document TARGET_FOLD_BUILTIN.
+
+2004-12-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * mklibgcc.in: Put back the default set of EXTRA_MULTILIB_PART.
+
+2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
+
+       * configure.ac: Move TL_AC_GCC_VERSION into initialization section.
+       Set libstdcxx_incdir directly.
+       * configure: Regenerate.
+
+2004-12-03  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-dom.c (record_equivalences_from_phis): Remove an
+       "if" whose condition is always true.
+
+       * cfgrtl.c (rtl_verify_flow_info_1): Use JUMP_P instead of
+       INSN_P.
+
+2004-12-02  Stan Shebs  <shebs@apple.com>
+
+       * config/rs6000/rs6000.c (rs6000_override_options): Make 64-bit
+       Darwin default to one-byte bools.
+
+2004-12-02  Richard Henderson  <rth@redhat.com>
+
+       PR 18774
+       * simplify-rtx.c (simplify_immed_subreg): Fail complex modes.
+
+2004-12-03  Ben Elliston  <bje@au.ibm.com>
+
+       * doc/cfg.texi (Edges): Update. Document the edge_iterator data
+       type and its methods.
+
+2004-12-02  Richard Henderson  <rth@redhat.com>
+
+       * expr.c (write_complex_part): Use simplify_gen_subreg when the
+       submode is at least as large as a word.
+       (read_complex_part): Likewise.
+
+2004-12-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/18532
+       * mklibgcc.in: Build one set of EXTRA_MULTILIB_PARTS for
+       multilib at a time. Don't build the default set. Don't add
+       EXTRA_MULTILIB_PARTS to shared libunwind nor libgcc. Remove
+       filter for shared libunwind and libgcc.
+
+2004-12-02  Roger Sayle  <roger@eyesopen.com>
+
+       PR target/18759
+       * config/i386/i386.c (override_options): If -fomit-frame-pointer has
+       already been specified, ignore the -momit-leaf-frame-pointer option.
+
+2004-12-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * varasm.c (make_decl_rtl): Add the missing `;'.
+
+2004-12-02  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * tree.c (is_attribute_p): Split out to ..
+       (is_attribute_with_length_p): Here.  Use IDENTIFIER_LENGTH instead
+       of strlen and compare the string lengths before calling strcmp.
+       (lookup_attribute): Call is_attribute_with_length_p instead of
+       is_attribute_p.
+
+2004-12-02  Devang Patel  <dpatel@apple.com>
+
+       * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -gfull and -gused.
+       * config/rs6000/darwin.h (CC1_SPEC): Do not handle -gfull and -gused.
+       * config/i386/darwin.h (CC1_SPEC): Same.
+
+2004-12-02  Richard Henderson  <rth@redhat.com>
+
+       * optabs.c (lowpart_subreg_maybe_copy): New.
+       (expand_unop, expand_abs_nojump): Use it.
+
+2004-12-02  J"orn Rennecke <joern.rennecke@st.com>
+
+       * sh.md (extv, extzv): Add pattern predicate.
+
+2004-12-02  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF
+       is not null.
+
+       * tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF
+       is not null.
+
+       * tree-cfg.c (thread_jumps): Reduce the size of WORKLIST.
+
+2004-12-02  Jeff Law  <law@redhat.com>
+
+       * tree-eh.c: Revert yesterday's change.
+
+2004-12-02  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * varasm.c (decode_reg_name): Revert change to check for zero
+       length strings.
+       (make_decl_rtl): Make sure that we call decode_reg_name only
+       when needed.
+
+2004-12-02  Dorit Naishlos  <dorit@il.ibm.com>
+
+       PR tree-opt/18716
+       * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Properly set
+       then and else labels.
+
+2004-12-02  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (WERROR_FLAGS): Renamed from WERROR.
+       (STRICT2_WARN): Use $(WERROR_FLAGS) instead of $(WERROR).
+       (STAGE2_FLAGS_TO_PASS): Likewise.
+
+       * config/i386/x-mingw32: Set WERROR_FLAGS instead of WERROR.
+
+2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
+
+       * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.  Remove
+       now-redundant AC_SUBSTs.
+       * aclocal.m4: Include ../config/gcc-version.m4.
+       * configure: Regenerate.
+
+2004-12-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.c (rs6000_assemble_integer): Put back the
+       #ifdef RELOCATABLE_NEEDS_FIXUP.
+
+2004-12-01  Roger Sayle  <roger@eyesopen.com>
+
+       PR target/9908
+       * config/i386/i386.md (*call_value_1, *sibcall_value_1): Correct
+       Intel assembler syntax by using %A1 instead of %*%1.
+
+2004-12-01  Richard Henderson  <rth@redhat.com>
+
+       * expr.c (expand_assignment): Handle CONCAT both as a final
+       destination and as a middle point.
+
+2004-12-01  Jeff Law  <law@redhat.com>
+
+       * tree-eh.c (save_eptr, save_filt): Now file scoped statics.
+       (honor_protect_cleanup_actions): Only create save_eptr and
+       save_filt if they do not already exist.
+       (lower_eh_constructs): Wipe all knowledge of save_eptr and
+       save_filt before returning.
+
+2004-12-02  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-phinodes.c (remove_phi_arg_num): Fix a comment.
+
+2004-12-02  Alan Modra  <amodra@bigpond.net.au>
+
+       PR target/16952
+       * config/rs6000/rs6000.c (rs6000_assemble_integer): Replace
+       #ifdef RELOCATABLE_NEEDS_FIXUP with if.
+       * config/rs6000/linux.h (RELOCATABLE_NEEDS_FIXUP): Define in terms
+       of target_flags_explicit.
+       * config/rs6000/linux64.h (RELOCATABLE_NEEDS_FIXUP): Ditto for biarch
+       case.  Define as 0 for non-biarch.
+
+2004-12-01  Zack Weinberg  <zack@codesourcery.com>
+
+       * config/rs6000/t-aix43, config/rs6000/t-aix52 (SHLIB_LINK):
+       Change temporary file tag from a prefix to an infix.
+
+2004-12-02  Andreas Schwab  <schwab@suse.de>
+
+       * gcc.c (struct option_map): Add entry for "--pass-exit-codes".
+
+2004-12-01  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-opt/18763
+       PR tree-opt/18746
+       * tree-ssa-alias.c (init_alias_info): Get statement operands for all
+       the statements if aliases_computed_p is true.
+
+2004-12-01  Mark Mitchell  <mark@codesourcery.com>
+
+       * Makefile.in (WERROR): New variable.
+       (STRICT2_WARN): Use it.
+       (STAGE2_FLAGS_TO_PASS): Likewise.
+       * config/i386/x-mingw32 (WERROR): Add -Wno-format.
+
+2004-12-01  Richard Henderson  <rth@redhat.com>
+
+       * expr.c (get_inner_reference): Fix thinko in REAL/IMAGPART_EXPR
+       offsetting.
+
+2004-12-01  Diego Novillo  <dnovillo@redhat.com>
+
+       PR tree-optimization/18291
+       * tree-ssa-copy.c (merge_alias_info): Fix merging of
+       flow-sensitive alias information.  If the new pointer has no
+       name tag, copy it from the original pointer.  Otherwise, make
+       sure that the pointed-to sets have a common intersection.
+
+2004-12-01  Richard Henderson  <rth@redhat.com>
+
+       PR rtl-opt/15289
+       * emit-rtl.c (gen_complex_constant_part): Remove.
+       (gen_realpart, gen_imagpart): Remove.
+       * rtl.h (gen_realpart, gen_imagpart): Remove.
+       * expmed.c (extract_bit_field): Remove CONCAT hack catering to
+       gen_realpart/gen_imagpart.
+       * expr.c (write_complex_part, read_complex_part): New.
+       (emit_move_via_alt_mode, emit_move_via_integer, emit_move_resolve_push,
+       emit_move_complex_push, emit_move_complex, emit_move_ccmode,
+       emit_move_multi_word): Split out from ...
+       (emit_move_insn_1): ... here.
+       (expand_expr_real_1) <COMPLEX_EXPR>: Use write_complex_part.
+       <REALPART_EXPR, IMAGPART_EXPR>: Use read_complex_part.
+       * function.c (assign_parm_setup_reg): Hard-code transformations
+       instead of using gen_realpart/gen_imagpart.
+
+       * expr.c (optimize_bitfield_assignment_op): Split out from ...
+       (expand_assignment): ... here.  Use handled_component_p to gate
+       get_inner_reference code.  Simplify MEM handling.  Special case
+       CONCAT destinations.
+
+       * expmed.c (store_bit_field): Use simplify_gen_subreg instead
+       of gen_rtx_SUBREG directly.
+
+2004-12-01  David Edelsohn  <edelsohn@gnu.org>
+           Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR target/17107
+       * config/rs6000/rs6000.md (sge): Enable for non-TARGET_POWER.
+       (sgt): Same.
+       (sle): Same.
+       (slt): Same.
+
+2004-12-01  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR middle-end/18667
+       * params.c (set_param_value): Add range check.
+       * params.def: Add min and max values. Reformat long strings.
+       * params.h (struct param_info): Add min and max fields.
+       (enum compiler_param): Adjust DEFPARAM.
+       * toplev.c (lang_independent_params): Likewise.
+
+2004-12-01  Alan Modra  <amodra@bigpond.net.au>
+
+       PR target/12817
+       * config/rs6000/rs6000.c (rs6000_emit_prologue): Use r0 for vrsave.
+
+2004-12-01  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * doc/standards.texi: Update for C99 TC2.
+
+2004-11-30  Jeff Law  <law@redhat.com>
+
+       * sbitmap.c (sbitmap_any_common_bits): New function.
+       * sbitmap.h (sbitmap_any_common_bits): Prototype.
+       * modulo-sched.c (sms_schedule_by_order): Use sbitmap_any_common_bits
+       No longer allocate/free "psp", "pss" sbitmaps.
+       * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Similarly for
+       the "res" sbitmap.
+       (group_aliases): Similarly.
+
+2004-11-30  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * tree-vectorizer.c (vect_analyze_data_refs): Reformat and avoid
+       uninitialized variable.
+
+2004-11-30  Eric Christopher  <echristo@redhat.com>
+
+       * fold-const.c (fold_widened_comparison): Make sure that we're
+       passing an INTEGER_TYPE to int_fits_type_p.
+       (fold): Clean up comment.
+
+2004-11-30  Zack Weinberg  <zack@codesourcery.com>
+
+       * mklibgcc.in: Correct calculation of libgcc_s_soname and
+       libunwind_soname.  Use $out, not $outS, in commands for
+       no-shared-library case.  Move EXTRA_MULTILIB_PARTS rules above
+       library build rules, make $libunwind_so and $libgcc_s_so
+       depend on them in the normal fashion, and filter those objects
+       out of @shlib_objs@.
+
+2004-11-30  Janis Johnson  <janis187@us.ibm.com>
+
+       * config/rs6000/altivec.h (vec_step_help): Support const vector types.
+
+2004-11-30  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-opt/18298
+       * tree-optimize.c (init_tree_optimization_passes): Add a may_alias
+       pass right after fold builtins.
+
+2004-11-30  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/s390-modes.def: Added cc modes documentation.
+       * config/s390/s390.c: (s390_tm_ccmode, s390_select_ccmode,
+       s390_expand_addcc): Added cc mode comments.
+       * config/s390/s390.md: Removed old cc mode documentation.
+
+2004-11-30  Mark Dettinger  <dettinge@de.ibm.com>
+
+       * config/s390/s390.c (struct processor_costs): New data type.
+       (s390_cost, z900_cost, z990_cost): New global variables.
+       (override_options): Initialize s390_cost.
+       (s390_rtx_costs): Reimplement.
+
+2004-11-29  Daniel Berlin  <dberlin@dberlin.org>
+
+       Fix PR tree-optimization/18673
+
+       * tree-ssa-pre.c: Remove splay-tree.h include.
+       (bitmap_value_replace_in_set): Fix to add if it does not exist.
+       (find_or_generate_expression): Remove now-wrong condition.
+       (create_expression_by_pieces): Fix condition and comment reason
+       for it.
+       (insert_aux): Fix condition and comment reasons for it.
+       Factor insertion code from here.
+       (insert_into_preds_of_block): To here.  Fix conditions in factored
+       function and comment reasons for them.
+
+2004-11-30  Ira Rosen  <irar@il.ibm.com>
+
+       PR tree-opt/18607
+       * tree-vectorizer.c (vect_analyze_data_refs): Use temporary
+       variable for data_reference when looking for memtag.
+
+2004-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-opts.c (check_deps_environment_vars): If spec != NULL, set
+       deps_seen.
+
+2004-11-30  Dorit Naishlos  <dorit@il.ibm.com>
+
+       * tree-vectorizer.c (vect_gen_niters_for_prolog_loop): Use
+       tree_low_cst instead of TREE_INT_CST_LOW.
+
+2004-11-30  Dorit Naishlos  <dorit@il.ibm.com>
+
+       PR target/18173
+       * tree-vectorizer.c (vect_can_force_dr_alignment_p): Return false for
+       decls that are assembled before vectorization takes place.
+       (vect_compute_data_ref_alignment): Set DECL_USER_ALIGN to 1.
+
 2004-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * passes.c (rest_of_handle_old_regalloc): Delete unreachable blocks