OSDN Git Service

2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 3d9a9b3..81d884b 100644 (file)
@@ -1,3 +1,203 @@
+2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
+
+       * config.gcc: Add i386/t-fprules-softfp and soft-fp/t-softfp
+       to tmake_file for i[34567]86-*-cygwin*. 
+
+2009-05-29  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/40017
+       * config/rs6000/rs6000-c.c (_Bool_keyword): New variable.
+       (altivec_categorize_keyword, init_vector_keywords,
+       rs6000_cpu_cpp_builtins): Define _Bool as conditional macro
+       similar to bool.
+
+2009-05-29  Kai Tietz  <kai.tietz@onevision.com>
+
+       * tree.c (handle_dll_attribute): Check if node is
+       of kind FUNCTION_DECL for DECL_DECLARED_INLINE_P check.
+
+2009-05-29  Richard Earnshaw  <rearnsha@arm.com>
+
+       * config/arm/thumb2.md (thumb2_zero_extendsidi2): Add a split
+       component.
+       (thumb2_zero_extendqidi2): Likewise.
+
+2009-05-28  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.c (sh_expand_t_scc): Use gen_xorsi3_movrt
+       instead of gen_movrt.
+       * config/sh/sh.md (movrt): Remove.
+
+2009-05-28  Steve Ellcey  <sje@cup.hp.com>
+
+       * doc/invoke.texi (IA-64 Options)
+       Add -msdata, -mfused-madd, -mno-inline-float-divide, 
+       -mno-inline-int-divide, -mno-inline-sqrt, -msched-spec-ldc,
+       -msched-spec-control-ldc, -msched-prefer-non-data-spec-insns,
+       -msched-prefer-non-control-spec-insns,
+       -msched-stop-bits-after-every-cycle,
+       -msched-count-spec-in-critical-path,
+       -msel-sched-dont-check-control-spec, -msched-fp-mem-deps-zero-cost
+       -msched-max-memory-insns-hard-limit, -msched-max-memory-insns
+       Remove -mt, -pthread, -msched-ldc, -mno-sched-control-ldc,
+       and -msched-spec-verbose.
+
+2009-05-28  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/arm/lib1funcs.asm (__clear_cache): Define if
+       L_clear_cache.
+       * config/arm/linux-eabi.h (CLEAR_INSN_CACHE): Define to give an
+       error if used.
+       * config/arm/t-linux-eabi (LIB1ASMFUNCS): Add _clear_cache.
+
+2009-05-28  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-alias.c (ao_ref_init): New function.
+       (ao_ref_base): Likewise.
+       (ao_ref_base_alias_set): Likewise.
+       (ao_ref_alias_set): Likewise.
+       (refs_may_alias_p_1): Change signature.
+       (refs_may_alias_p): Adjust.
+       (refs_anti_dependent_p): Likewise.
+       (refs_output_dependent_p): Likewise.
+       (call_may_clobber_ref_p_1): Change signature.
+       (call_may_clobber_ref_p): Adjust.
+       (stmt_may_clobber_ref_p_1): New function split out from ...
+       (stmt_may_clobber_ref_p): ... here.
+       (maybe_skip_until): Adjust signature.
+       (get_continuation_for_phi): Likewise.
+       (walk_non_aliased_vuses): Likewise.
+       * tree-ssa-alias.h (struct ao_ref_s): New structure type.
+       (ao_ref_init): Declare.
+       (ao_ref_base): Likewise.
+       (ao_ref_alias_set): Likewise.
+       (stmt_may_clobber_ref_p_1): Likewise.
+       (walk_non_aliased_vuses): Adjust.
+       * tree-ssa-sccvn.c (ao_ref_init_from_vn_reference): New function.
+       (get_ref_from_reference_ops): remove.
+       (vn_reference_lookup_2): Adjust signature.
+       (vn_reference_lookup_3): Do not re-build trees.  Handle unions.
+       (vn_reference_lookup_pieces): Adjust signature, do not re-build
+       trees.
+       (vn_reference_lookup): Adjust.
+       (vn_reference_insert): Likewise.
+       (vn_reference_insert_pieces): Adjust signature.
+       (visit_reference_op_call): Adjust.
+       * tree-ssa-pre.c (get_expr_type): Simplify.
+       (phi_translate_1): Adjust.
+       (compute_avail): Likewise.
+       (translate_vuse_through_block): Do not re-build trees.
+       (value_dies_in_block_x): Likewise.
+       * tree-ssa-sccvn.h (struct vn_reference_s): Add type and alias-set
+       fields.
+       (vn_reference_lookup_pieces): Adjust declaration.
+       (vn_reference_insert_pieces): Likewise.
+
+2009-05-28  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * tree-ssa-copy.c (replace_exp_1): Move op for warning-free use
+       with checking disabled.
+
+2009-05-28  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR target/37216
+
+       * configure.ac (HAVE_GAS_ALIGNED_COMM):  Add autoconf test and
+       macro definition for support of three-operand format aligned
+       .comm directive in assembler on cygwin/pe/mingw target OS.
+       * configure:  Regenerate.
+       * config.h:  Regenerate.
+
+       * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common):  Use
+       aligned form of .comm directive if -mpe-aligned-commons is in effect.
+       * config/i386/cygming.opt (-mpe-aligned-commons):  Add new option.
+
+       * doc/invoke.texi (-mpe-aligned-commons):  Document new target option.
+       * doc/tm.texi (ASM_OUTPUT_COMMON):  Document zero size commons.
+
+2009-05-28  Ira Rosen  <irar@il.ibm.com>
+
+       PR tree-optimization/40254
+       * tree-data-ref.c (dr_analyze_innermost): Take POFFSET into account
+       in analysis of basic blocks.
+
+2009-05-28  Adam Nemet  <anemet@caviumnetworks.com>
+
+       PR middle-end/33699
+       * target.h (struct gcc_target): Fix indentation.  Add
+       const_anchor.
+       * target-def.h (TARGET_CONST_ANCHOR): New macro.
+       (TARGET_INITIALIZER): Use it.
+       * cse.c (CHEAPER): Move it up to the other macros.
+       (insert): Rename this ...
+       (insert_with_costs): ... to this.  Add cost parameters.  Update
+       function comment.
+       (insert): New function.  Call insert_with_costs.
+       (compute_const_anchors, insert_const_anchor, insert_const_anchors,
+       find_reg_offset_for_const, try_const_anchors): New functions.
+       (cse_insn): Call try_const_anchors.  Adjust cost of src_related
+       when using a const-anchor.  Call insert_const_anchors.
+       * config/mips/mips.c (mips_set_mips16_mode): Set
+       targetm.const_anchor.
+       * doc/tm.texi (Misc): Document TARGET_CONST_ANCHOR.
+
+2009-05-28  Alexandre Oliva  <aoliva@redhat.com>
+
+       * tree-inline.c (remap_decls): Enable nonlocalized variables
+       when not optimizing.
+
+2009-05-28  Alexandre Oliva  <aoliva@redhat.com>
+
+       * tree-ssa-live.c (remove_unused_locals): Skip when not optimizing.
+       Simplify other tests involving optimize.
+
+2009-05-27  Tom Tromey  <tromey@redhat.com>
+
+       * unwind-dw2.c (_Unwind_DebugHook): New function.
+       (uw_install_context): Call _Unwind_DebugHook.
+
+2009-05-27  Tom Tromey  <tromey@redhat.com>
+
+       * system.h (CONST_CAST2): Use C++ const_cast when compiled as C++
+
+2009-05-27  Ian Lance Taylor  <iant@google.com>
+
+       * Makefile.in (LINKER, LINKER_FLAGS): Define.
+       (LINKER_FOR_BUILD, BUILD_LINKERFLAGS): Define.
+       (ALL_LINKERFLAGS): Define.
+       (xgcc$(exeext)): Change $(COMPILER) to $(LINKER).
+       (cpp$(exeext), cc1-dummy$(exeext), cc1$(exeext)): Likewise.
+       (collect2$(exeext), mips-tfile, mips-tdump): Likewise.
+       (gcov$(exeext), gcov-dump$(exeext)): Likewise.
+       (build/gen%$(build_exeext)): Change $(COMPILER_FOR_BUILD) to
+       $(LINKER_FOR_BUILD).
+       (build/gcov-iov$(build_exeext)): Likewise.
+
+2009-05-27  Julian Brown  <julian@codesourcery.com>
+
+       * gcse.c (target.h): Include.
+       (can_assign_to_reg_without_clobbers_p): Check that the target allows
+       copy of argument to a pseudo register.
+
+2009-05-27  Diego Novillo  <dnovillo@google.com>
+
+       * tree-ssa-live.c (dump_scope_block): Document arguments.
+       (dump_scope_blocks): Document.
+       (debug_scope_blocks): New.
+       * tree-flow.h (debug_scope_blocks): Declare.
+
+2009-05-21  Denis Chertykov  <denisc@overta.ru>
+
+       * doc/contrib.texi (Contributors): add myself to the list.
+
+2009-05-27  Olivier Hainque  <hainque@adacore.com>
+
+       * expr.c (target_align): New function.  Alignment the TARGET of an
+       assignment may be assume to have.
+       (highest_pow2_factor_for_target): Use it instead of relying on
+       immediate tree attributes of TARGET, not necessarily honored when
+       intermediate bitfields are involved.
+       
 2009-05-27  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/40266