OSDN Git Service

2005-08-09 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index c332799..8a271ba 100644 (file)
@@ -1,3 +1,210 @@
+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.