OSDN Git Service

Fix debian bug 307503, error compiling libatomic-ops package.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index c332799..31558b9 100644 (file)
@@ -1,3 +1,368 @@
+2005-08-11  James E. Wilson  <wilson@specifix.com>
+
+       * config/ia64/ia64.h (EXTRA_MEMORY_CONSTRAINT): New.
+
+2005-08-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2out.c (add_location_or_const_value_attribute): Prefer
+       locations gathered by var-tracking in single entry loc_list
+       over loc_descriptor_from_tree.
+
+       * dwarf2out.c (concat_loc_descriptor): Add can_use_fbreg argument,
+       pass it down to loc_descriptor.
+       (loc_descriptor): Pass can_use_fbreg to concat_loc_descriptor.
+       (containing_function_has_frame_base): Move earlier in the file.
+       (loc_descriptor_from_tree_1): Use containing_function_has_frame_base
+       instead of always assuming fbreg can't be used.
+
+2005-08-11  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/altivec.md: Change constraint "m" to "Z".
+       * config/rs6000/predicates.md (indexed_or_indirect_operand):
+       Accept address wrapped in AND for Altivec.
+       * config/rs6000/rs6000.c (rs6000_legitimize_reload_address):
+       Strip AND wrapping offset address for Altivec.
+
+2005-08-11  Richard Henderson  <rth@redhat.com>
+
+       PR middle-end/23312
+       * gimplify.c (gimplify_one_sizepos): Check for INTEGER_TYPE
+       before using TYPE_IS_SIZETYPE.
+
+2005-08-11  Richard Henderson  <rth@redhat.com>
+
+       PR target/22225
+       * config/alpha/alpha.c (alphaev4_insn_pipe): Add take pipes for
+       insn types not present on ev4.
+       (alphaev5_insn_pipe): Similarly.
+
+2005-08-11  Richard Earnshaw  <richard.earnshaw@arm.com>
+
+       PR target/23250
+       * arm.c (arm_override_options): If the user has selected callee-super-
+       interworking, then enable normal interworking.
+
+2005-08-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * config/i386/x86-64.h (ASM_OUTPUT_ALIGNED_BSS): Undef before
+       redefinition.
+
+2005-08-11  Wu Zhou  <woodzltc@cn.ibm.com>
+
+       * doc/rtl.texi: Fix two typos.
+
+2005-08-11  Richard Guenther  <rguenther@suse.de>
+
+       PR target/23289
+       * config/i386/i386.c (ix86_function_ok_for_sibcall): Handle
+       cases where we call to/from functions returning void.
+
+2005-08-10  James A. Morrison  <phython@gcc.gnu.org>
+
+       PR c++/23225
+       * tree.c (build_pointer_type_for_mode): Robustify.
+
+2005-08-10  James E Wilson  <wilson@specifix.com>
+
+       * defaults.h, config/alpha/alpha.h, config/ia64/ia64.h
+       (ASM_OUTPUT_ADDR_VEC_ELT): Delete.
+
+       * config/alpha/alpha.c (alpha_arg_partial_bytes): Change "(CUM)." to
+       "cum->".
+
+2005-08-10  Eric Christopher  <echristo@apple.com>
+
+       * config/rs6000/rs6000.c (mems_ok_for_quad_peep): Rewrite.
+       * config/rs6000/rs6000.md (*lfq_power2, *stfq_power2): Use
+       V2DFmode.
+
+2005-08-10  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR target/21887
+       * config/darwin.c (machopic_indirect_data_reference): Use a new register
+       for the high part when generating dynamic-no-pic code.
+
+2005-08-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config.gcc (i[34567]86-*-linux*): Add i386/t-crtfm to tm-file.
+       (x86_64-*-linux*): Likewise.
+
+       * config/i386/crtfastmath.c: New file.
+       * config/i386/t-crtfm: Likewise.
+
+       * config/i386/linux.h (ENDFILE_SPEC): New.
+       * config/i386/linux64.h (ENDFILE_SPEC): Likewise.
+
+       * config/i386/t-linux64 (EXTRA_MULTILIB_PARTS): Add
+       crtfastmath.o.
+
+2005-08-10  Dorit Nuzman  <dorit@il.ibm.com>
+
+       * doc/md.texi: (reduc_smin, reduc_umin, reduc_splus, reduc_uplus):
+       (vec_shl, vec_shr): Document new operations.
+       * tree.def (VEC_RSHIFT_EXPR, VEC_LSHIFT_EXPR): Fix comment.
+
+2005-08-10  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/predicates.md (indexed_or_indirect_address): New.
+       * config/rs6000/rs6000.md (prefetch): Remove operand 0 mode and
+       change predicate to indexed_or_indirect_address.
+
+2005-08-10  Richard Sandiford  <richard@codesourcery.com>
+
+       * config/arm/lib1funcs.asm (__aeabi_uidiv, __aeabi_idiv): New aliases.
+       * config/arm/libgcc-bpabi.ver (GCC_3.5): Add __aeabi_idiv,
+       __aeabi_uidiv, __aeabi_uread4, __aeabi_uread8, __aeabi_uwrite4
+       and __aeabi_uwrite8.
+       * config/arm/unaligned-funcs.c: New file.
+       * config/arm/t-bpabi (LIB2FUNCS_EXTRA): Add unaligned-funcs.c.
+
+2005-08-09  Paolo Bonzini  <bonzini@gnu.org>
+
+       * bb-reorder.c (pass_duplicate_computed_gotos, pass_partition_blocks):
+       Add dump.
+       * cfglayout.c (pass_insn_locators_initialize): Add dump.
+       * emit-rtl.c (pass_unshare_all_rtl, pass_remove_unnecessary_notes):
+       Add dump.
+       * except.c (pass_convert_to_eh_region_ranges): Add dump.
+       * final.c (pass_shorten_branches): Add dump.
+       * flow.c (pass_recompute_reg_usage, pass_remove_death_notes): Add dump.
+       (pass_life): Rename dump.
+       (rest_of_handle_flow2): Remove initial verify_flow_info.
+       * function.c (pass_instantiate_virtual_regs): Add dump.
+       * integrate.c (pass_initial_value_sets): Add dump.
+       * jump.c (pass_cleanup_barriers, pass_purge_lineno_notes): Add dump.
+       * loop-init.c (pass_rtl_loop_init, pass_rtl_loop_done): Rename dump.
+       (pass_rtl_move_loop_invariants, pass_rtl_unswitch, pass_rtl_doloop,
+       pass_rtl_unroll_and_peel_loops): Rename dump and add gate.
+       (gate_rtl_move_loop_invariants, gate_rtl_unswitch, gate_rtl_doloop,
+       gate_rtl_unrool_and_peel_loops): New.
+       (rtl_move_loop_invariants, rtl_unswitch, rtl_unrool_and_peel_loops,
+       rtl_doloop): Do not look at flags.
+       * mode-switching.c (pass_mode_switching): Add dump.
+       * recog.c (pass_split_all_insns, pass_split_for_shorten_branches,
+       pass_split_before_regstack): Add dump.
+       * regmove.c (pass_stack_adjustments): Add dump.
+       * tree-optimize.c (pass_fixup_cfg): Add dump.
+
+2005-08-10  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+       PR 23309
+       * config/m32r/m32r.c (m32r_reload_lr): Fix off by one error when
+       deciding which instruction sequence to use.
+
+2005-08-09  Dorit Nuzman  <dorit@il.ibm.com>
+
+       * tree-vect-transform.c (vect_create_epilog_for_reduction): Set
+       BIT_FIELD_REF_UNSIGNED for newly created BIT_FIELD_REFs.
+
+2005-08-09  Richard Guenther  <rguenther@suse.de>
+
+       * c-common.c (builtin_function_2): Remove.
+       (def_builtin_1): New function.
+       (c_common_nodes_and_builtins): Use def_builtin_1 to
+       build builtin functions.
+
+2005-08-09  Jie Zhang  <jie.zhang@analog.com>
+
+       * config/bfin/uclinux.h (NO_IMPLICIT_EXTERN_C): Define.
+       * config/bfin/elf.h (NO_IMPLICIT_EXTERN_C): Define.
+       * config/bfin/bfin.c (bfin_return_in_memory): Update to really match
+       Visual DSP.
+
+2005-08-09  James A. Morrison  <phython@gcc.gnu.org>
+
+       * tree-ssa-loop-niter.c (tree_simplify_using_condition_1): Use
+       fold_binary instead of fold_build2 since we don't care about the
+       resulting tree.
+       (loop_niter_by_eval): Likewise.
+       (compare_trees): Likewise.
+       (proved_non_wrapping_p): Likewise.
+
+2005-08-09  James A. Morrison  <phython@gcc.gnu.org>
+
+       PR c/23161
+       PR c/23165
+       * c-typeck.c (c_finish_if_stmt): Look into STATEMENT_LISTs to see
+       if the if is really empty.
+
+2005-08-09  Steven Bosscher  <stevenb@suse.de>
+
+       PR tree-optimization/23234
+       * tree-ssa-math-opts.c (place_reciprocal): New enum.
+       (execute_cse_reciprocals_1): Replace the 'phi' argument with an
+       argument of the new enum.
+       (execute_cse_reciprocals): Add reciprocals for function arguments
+       on the unique successor edge of the entry block.  Update other calls
+       to execute_cse_reciprocals_1.
+
+2005-08-08  Richard Henderson  <rth@redhat.com>
+
+       PR 22439
+       * gimplify.c (gimplify_one_sizepos): Preserve the original type.
+
+2005-08-08  Bob Wilson  <bob.wilson@acm.org>
+
+       * expr.c (write_complex_part): Return after handling MEM.
+
+2005-08-08  Josh Conner  <jconner@apple.com>
+
+       PR rtl-optimization/23241
+       * combine.c (simplify_comparison): Fix error in determining
+       whether to lift a subreg from comparison.
+
+2005-08-08  David Edelsohn  <edelsohn@gnu.org>
+
+       PR target/18506
+       * config/rs6000/altivec.md (vec_init<mode>): New.
+       (vec_set<mode>): New.
+       (vec_extract<mode>): New.
+       * config/rs6000/rs6000.c (rs6000_expand_vector_init): New.
+       (rs6000_expand_vector_set): New.
+       (rs6000_expand_vector_extract): New.
+       (rs6000_legitimate_offset_address_p): Offset addresses are valid
+       for Altivec modes before reload.
+       (altivec_expand_vec_init_builtin): New.
+       (get_element_number): New.
+       (altivec_expand_vec_set_builtin): New.
+       (altivec_expand_vec_ext_builtin): New.
+       (altivec_expand_builtin): Expand vec_init, vec_set, and vec_ext
+       builtins.
+       (altivec_init_builtins): Init vec_init, vec_set, and vec_ext
+       builtins.
+       * config/rs6000/rs6000.h (rs6000_builtins): Add
+       ALTIVEC_BUILTIN_VEC_INIT_<mode>, ALTIVEC_BUILTIN_VEC_SET_<mode>,
+       ALTIVEC_BUILTIN_VEC_EXT_<mode>.
+       * config/rs6000/rs6000-protos.h: Declare new functions.
+
+2005-08-08  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (legitimate_pic_address_disp_p): Refuse GOTOFF in 64bit mode.
+       (legitimate_address_p): Refuse GOT and GOTOFF in 64bit mode.
+       * i386.md (movdi*): Use pic_32bit_operand.
+       * predicates.md (pic_32bit_operand): New.
+
+2005-08-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/21166
+       * stor-layout.c (finalize_type_size): Undo DECL_PACKED when possible.
+
+2005-08-07  James A. Morrison  <phython@gcc.gnu.org>
+
+       * tree-vrp.c (simplify_div_or_mod_using_range): Use build2.
+       (test_for_singularity): Use fold_build2.
+
+2005-08-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Fix loop upper bound.
+
+2005-08-07  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * config/i386/cygming.h (SUBTARGET_ENCODE_SECTION_INFO): Define.
+       (COMMON_ASM_OP) Define.
+       * config/i386/i386.c (ix86_in_large_data_p): Add ATTRIBUTE_UNUSED
+       (ix86_encode_section_info): Likewise.
+       (TARGET_ENCODE_SECTION_INFO): Conditionally define as
+       SUBTARGET_ENCODE_SECTION_INFO.
+
+2005-08-06  Richard Henderson  <rth@redhat.com>
+
+       PR 21894
+       * tree-nested.c (convert_local_reference): Save and restore val_only
+       around component_ref and friends.  Clear walk_subtrees by default.
+
+2005-08-06  Peter O'Gorman  <peter@pogma.com>
+
+       PR 21366
+       * gcc.c (process_command): Check the argument to -b has a dash.
+       * doc/invoke.texi: Update -b and -V docs.
+
+2005-08-06  James E Wilson  <wilson@specifix.com>
+
+       * config/mips/cross64.h, config/mips/t-cross64: Delete.
+
+2005-08-06  Michael Matz  <matz@suse.de>
+
+       * genattrtab.c (write_attr_get, write_attr_case): Use insn_code
+       member only if only one insn is associated with the value.
+
+2005-08-06  Nick Clifton  <nickc@redhat.com>
+
+       * config/stormy16/stormy16.h (SYMBOL_FLAG_XSTORMY16_BELOW100):
+       New define.
+       (ASM_OUTPUT_LABELREF): Delete - it is no longer needed.
+       * config/stormy16/stormy16.c (xstormy16_below100_symbol):
+       Check symbol flags instead of symbol name mangling.
+       (xstormy16_asm_output_aligned_common): Likewise.  Also
+       simplify code since the bss100_section cass is the only case
+       where the below100 code will be triggered.
+       (xstormy16_encode_section_info): Encode below100 attribute
+       using the SYMBOL_FLAG_XSTORMY16_BELOW100 instead of mangling
+       the name.
+       (xstormy16_strip_name_encoding): Delete - this function is no
+       longer needed.
+       (TARGET_STRIP_NAME_ENCODING): Undefine.
+       * config/stormy16/stormy16-protos.h: Delete prototype for
+       xstormy16_strip_name_encoding.
+
+2005-08-06  Kazu Hirata  <kazu@codesourcery.com>
+
+       * Makefile.in, cfgexpand.c, cfgloop.h, cfgloopmanip.c,
+       config.gcc, ipa-cp.c, ipa-prop.c, ipa-prop.h, reg-stack.c,
+       tree-ssa-structalias.c, tree-vrp.c, value-prof.c, vec.h,
+       config/linux.h, config/alpha/alpha.h, config/alpha/linux.h,
+       config/alpha/predicates.md, config/arc/arc.h,
+       config/arm/arm.h, config/arm/ieee754-df.S,
+       config/arm/ieee754-sf.S, config/bfin/bfin.c,
+       config/bfin/bfin.h, config/c4x/c4x.h, config/crx/crx.c,
+       config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h,
+       config/i386/i386.h, config/ia64/ia64.c, config/ia64/ia64.h,
+       config/m68hc11/m68hc11.h, config/mips/mips.c,
+       config/mips/mips.h, config/mips/openbsd.h,
+       config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.h,
+       config/pdp11/pdp11.h, config/rs6000/linux-unwind.h,
+       config/rs6000/rs6000.c, config/rs6000/rs6000.h,
+       config/s390/s390.c, config/sh/sh.c, config/sh/sh.h,
+       config/sparc/linux.h, config/sparc/linux64.h,
+       config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h,
+       doc/extend.texi, doc/gcov.texi, doc/install.texi,
+       doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix comment/doc
+       typos.  Follow spelling conventions.
+
+2005-08-06  Joseph S. Myers  <joseph@codesourcery.com>
+
+       PR c/23113
+       * stmt.c (warn_if_unused_value): Check TREE_NO_WARNING at start.
+       Don't handle NOP_EXPR, CONVERT_EXPR and NON_LVALUE_EXPR
+       specially.  Check for side effects only for COND_EXPR.
+       * c-typeck.c (c_finish_stmt_expr): Mark statement expression
+       return with TREE_NO_WARNING.
+
+2005-08-06  Richard Sandiford  <richard@codesourcery.com>
+
+       PR rtl-optimization/23233
+       * loop.c (combine_movables): Require the modes to be the same.
+       (move_movables): Remove handling of cases where the replacement
+       had a different mode to the original.
+
+2005-08-05  James A. Morrison  <phython@gcc.gnu.org>
+
+       PR tree-optimization/23128
+       * tree-vrp.c (vrp_int_const_binop): Check if unsigned addition or
+       subtraction wrap, and set TREE_OVERFLOW if they do.
+
+2005-08-05  Richard Henderson  <rth@redhat.com>
+
+       PR 21728
+       * tree-cfg.c (remove_bb): Transmute DECL_NONLOCAL labels into
+       FORCED_LABEL labels.
+
+2005-08-05  J"orn Rennecke <joern.rennecke@st.com>
+
+       PR middle-end/23135
+       * reload.c (find_reloads_subreg_address): Pass down TYPE
+       unchanged.  Change all callers except find_reloads_toplev.
+
 2005-08-05  Michael Matz  <matz@suse.de>
 
        * genattrtab.c (current_alternative_string): Remove.