OSDN Git Service

* tree-vect-stmts.c (vectorizable_assignment): Call build1 instead of
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 0638a80..4dfc884 100644 (file)
@@ -1,3 +1,203 @@
+2010-05-28  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * tree-vect-stmts.c (vectorizable_assignment): Call build1 instead of
+       build1_stat.
+
+2010-05-28  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/44312
+       * lto-streamer-in.c (unpack_ts_fixed_cst_value_fields):
+       Stream fixed-point constants mode.
+       (unpack_ts_type_value_fields): Fix width of TYPE_MODE
+       and TYPE_PRECISION.
+       * lto-streamer-out.c (pack_ts_fixed_cst_value_fields):
+       Stream fixed-point constants mode.
+       (pack_ts_function_decl_value_fields): Fix width of TYPE_MODE
+       and TYPE_PRECISION.
+
+2010-05-28  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * tree-scalar-evolution.c (set_nb_iterations_in_loop): Inlined in the
+       only place it was called from.
+       (number_of_latch_executions): Do not return chrec_dont_know when the
+       may_be_zero is a runtime condition: instead, return a COND_EXPR
+       including the may_be_zero condition.
+       * cfgloop.h (struct loop): Add a note on COND_EXPRs to the comment
+       of nb_iterations.
+       * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Handle
+       COND_EXPRs.
+
+2010-05-28  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * tree-if-conv.c (replace_phi_with_cond_gimple_assign_stmt): Don't
+       generate COND_EXPRs for degenerate_phi_result.
+
+2010-05-28  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR middle-end/44293
+       * tree-if-conv.c (if_convertible_loop_p): Check the
+       if-convertibility of phi nodes in non predicated BBs.
+
+2010-05-28  Joseph Myers  <joseph@codesourcery.com>
+
+       * gcc.c (error, warning, inform): Remove duplicate ": " in output.
+
+2010-05-28  Joseph Myers  <joseph@codesourcery.com>
+
+       PR driver/15303
+       * gcc.c (inform, warning, inform): New functions.
+       (fatal_ice): Rename to internal_error; change cmsgid parameter to
+       gmsgid.  All callers changed.
+       (notice): Rename to fnotice; add parameter fp.  All callers
+       changed.
+       (fatal_error): Rename to fatal_signal.  All users changed.
+       (fatal): Rename to fatal_error; change cmsgid parameter to
+       gmsgid.  All callers changed.
+       (process_command): Use warning instead of error for warnings.
+       (end_going_arg): Don't use _() around argument of error.
+       (do_spec_1): Use inform for message from %n specs.  Use warning
+       instead of error for warnings.
+       (main): Use inform for comparison messages.  Use warning for
+       message about unused linker input.
+       (error): Increment error_count.  Print "error: ".
+       * gcc.h (fatal): Change to fatal_error.
+       (warning): Declare.
+       * config/darwin-driver.c (darwin_default_min_version): Use warning
+       instead of fprintf for warnings.
+       * cppspec.c (lang_specific_driver): Use fatal_error instead of
+       fatal.
+
+2010-05-28  Julian Brown  <julian@codesourcery.com>
+
+       * config/arm/thumb2.md (*thumb2_addsi3_compare0): New.
+       (*thumb2_addsi3_compare0_scratch): New.
+       * config/arm/constraints.md (Pv): New.
+       * config/arm/arm.md (*addsi3_compare0): Remove FIXME comment. Use
+       for ARM mode only.
+       (*addsi3_compare0_scratch): Likewise.
+
+2010-05-28  Jan Hubicka  <jh@suse.cz>
+
+       * ipa-reference.c (add_static_var): Remove redundant all_module_statics check.
+       (ipa_reference_write_optimization_summary): Call is_proper_for_analysis only
+       on local statics.
+
+2010-05-28  Iain Sandoe  <iains@gcc.gnu.org>
+
+        * config.gcc (*-*-darwin*): Adjust t-make fragments for Darwin.
+
+2010-05-28  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       PR bootstrap/44314
+       * config/alpha/linux.h, config/rs6000/linux.h, config/rs6000/linux64.h
+       (OPTION_GLIBC): Define.
+
+2010-05-28  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/41048
+       * dwarf2out.c (double_int_type_size_in_bits): New function.
+       (round_up_to_align): Change first argument and return value to
+       double_int.
+       (field_byte_offset): Work internally on double_ints.
+
+       PR target/43636
+       * builtins.c (expand_movstr): Use a temporary pseudo instead
+       of target even when target is not NULL and not const0_rtx, but
+       fails movstr predicate.
+       * config/m32c/blkmov.md (movstr): Add predicate to first operand.
+
+2010-05-28  Joseph Myers  <joseph@codesourcery.com>
+
+       * final.c (rest_of_clean_state): Use %m in errors instead of
+       strerror (errno).
+       * gengtype.c (read_input_list, close_output_files): Use xstrerror
+       instead of strerror.
+       * toplev.c (process_options): Use %m in errors instead of strerror
+       (errno).
+       * tree-dump.c (dump_begin): Use %m in errors instead of strerror
+       (errno).
+
+2010-05-28  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (ix86_fn_abi_va_list): Make static.
+       (ix86_canonical_va_list_type): Make static.  Add declaration.
+       (ix86_enum_va_list): Make static.  Reindent.
+       * config/i386/i386-protos.h (ix86_fn_abi_va_list): Remove declaration.
+       (ix86_canonical_va_list_type): Ditto.
+       (ix86_enum_va_list): Ditto.
+
+2010-05-28  Richard Guenther  <rguenther@suse.de>
+
+       * lto-wrapper.c (run_gcc): With -save-temps generate a
+       user-visible ltrans filename.  Fixup ltrans unit numbering.
+
+2010-05-28  Kai Tietz  <kai.tietz@onevision.com>
+
+       * c-common.c (c_common_nodes_and_builtins): Replace use
+       of TARGET_ENUM_VA_LIST by target hook enum_va_list.
+       * config/i386/i386.c (TARGET_ENUM_VA_LIST_P): Hook
+       to ix86_enum_va_list.
+       * config/i386/i386.h (TARGET_ENUM_VA_LIST): Removed.
+       * doc/tm.texi (TARGET_ENUM_VA_LIST): Removed.
+       (TARGET_ENUM_VA_LIST_P): Add hook description.
+       * target-def.h (TARGET_ENUM_VA_LIST_P): Added.
+       * target.h (gcc_target): Add enum_va_list hook.
+
+       PR bootstrap/44299
+       * config/i386/t-cygming: Adjust header dependencies for winnt-cxx.c.
+       * config/i386/winnt-cxx.c (IN_GCC_FRONTEND): Remove undefine.
+       * config/i386/winnt.c (IN_GCC_FRONTEND): Likewise.
+
+2010-05-28  Alan Modra  <amodra@gmail.com>
+
+       PR target/44266
+       * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Use
+       emit_library_call machinery to set up __tls_get_addr calls.
+
+2010-05-28  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/s390.md (movqi): Fix typo ('*' -> '#').
+
+2010-05-28  Dodji Seketeli  <dodji@redhat.com>
+
+       revert fix for PR c++/44188
+       * c-common.c (is_typedef_decl): Revert the moving of  this
+       definition ...
+       * tree.c (is_typedef_decl): ... here.
+       (typdef_variant_p): Revert the moving of this  definition
+       here from gcc/cp/tree.c.
+       * c-common.h (is_typedef_decl): Revert the moving of this
+       declaration ...
+       * tree.h (is_typedef_decl): ... here.
+       (typedef_variant_p): Revert the moving of this  declaration here
+       from gcc/cp/cp-tree.h
+       * dwarf2out.c (is_naming_typedef_decl): Revert this new function.
+       (gen_tagged_type_die): Revert the splitting out of ...
+       (gen_type_die_with_usage): ... this function. Revert the anonymous
+       tagged type handling.
+       (gen_typedef_die): Revert emitting DW_TAG_typedef  for
+       typedefs naming anonymous tagged types.
+
+
+2010-05-28  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * config/rs6000/rs6000-modes.def (PSImode): Delete.
+
+2010-05-28  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * config/rs6000/constraints.md ("z" constraint): Change to CA_REGS.
+       * config/rs6000/predicates.md: Change XER_REGNO_P to CA_REGNO_P
+       throughout.
+       * config/rs6000/rs6000.c (rs6000_reg_names, alt_reg_names): Change
+       "xer" to "ca".
+       Change XER_REGNO_P to CA_REGNO_P, XER_REGNO to CA_REGNO, and
+       XER_REGS to CA_REGS throughout.
+       * config/rs6000/rs6000.h: Same.
+       (ADDITIONAL_REGISTER_NAMES): Add "xer".
+       * config/rs6000/rs6000.md: Change XER_REGNO to CA_REGNO.  Document
+       that mode_iterator "P" is the size for arithmetic carries as well.
+       * doc/md.texi (rs6000 section, "z" constraint): Fix documentation.
+
 2010-05-28  Jakub Jelinek  <jakub@redhat.com>
 
        PR bootstrap/44255