OSDN Git Service

* gcc.c: Include "vec.h".
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index ad2aecf..a701485 100644 (file)
@@ -1,3 +1,123 @@
+2010-11-15  Joseph Myers  <joseph@codesourcery.com>
+
+       * gcc.c: Include "vec.h".
+       (argbuf): Make into a VEC.
+       (argbuf_length, argbuf_index): Remove.
+       (alloc_args, clear_args, store_arg, execute, insert_wrapper,
+       do_spec, do_self_spec, do_spec_1, eval_spec_function, main,
+       compare_debug_dump_opt_spec_function: Use VEC interfaces on
+       argbuf.
+       * Makefile.in (GCC_OBJS): Add vec.o and ggc-none.o.
+       (gcc.o): Depend on $(VEC_H).
+
+2010-11-15  Richard Henderson  <rth@redhat.com>
+
+       * loop-unroll.c (analyze_insn_to_expand_var): Accept accumulation
+       via FMA if unsafe math.
+       (insert_var_expansion_initialization): Handle FMA.
+       (combine_var_copies_in_loop_exit): Likewise.
+
+2010-11-15  Richard Henderson  <rth@redhat.com>
+
+       * config.gcc [ia64-*] (extra_options): Add fused-madd.opt.
+       * config/ia64/ia64.opt: Remove mfused-madd.
+       * config/ia64/ia64.c (ia64_rtx_costs): Handle FP MULT, PLUS, FMA.
+       * config/ia64/vms.h (TARGET_DEFAULT): Remove MASK_FUSED_MADD.
+       * config/ia64/vms64.h (TARGET_DEFAULT): Likewise.
+       * config/ia64/ia64.h (TARGET_DEFAULT): Likewise.
+       * config/ia64/hpux.h (TARGET_DEFAULT): Likewise.
+       * config/ia64/vect.md (addv2sf3, subv2sf3): Generate FMA.
+       (*addv2sf3_1, *addv2sf3_2, *subv2sf3_1, *subv2sf3_2): Remove.
+       (fmav2sf4): Rename from fpma; use FMA code.
+       (fmsv2sf4): Rename from fpms; use FMA code.
+       (fnmav2sf4): Rename from *fpnma; use FMA code.
+       * config/ia64/ia64.md (MODE_SDF): New iterator.
+       (suffix): New mode attribute.
+       (*maddsf4, *msubsf4, *nmaddsf4): Remove.
+       (fmssf4): Rename from *fmssf4.
+       (fnmasf4): Rename from *nfmasf4.
+       (*madddf4, *madddf4_trunc, *msubdf4, *msubdf4_trunc): Remove.
+       (*nmadddf4, *nmadddf4_truncsf): Remove.
+       (fmsdf4): Rename from *fmsdf4.
+       (fnmadf4): Rename from *nfmadf4.
+       (*fmadf_trunc_sf, *fmsdf_trunc_sf, *fnmadf_trunc_sf): New.
+       (*maddxf4, *maddxf4_truncsf, *maddxf4_truncdf): Remove.
+       (*msubxf4, *msubxf4_truncsf, *msubxf4_truncdf): Remove.
+       (*nmaddxf4, *nmaddxf4_truncsf, *nmaddxf4_truncdf): Remove.
+       (fmsxf4): Rename from *fmsxf4.
+       (fnmaxf4): Rename from *nfmaxf4.
+       (*fmaxf_trunc_<MODE_SDF>, *fmsxf_trunc_<MODE_SDF>): New.
+       (*fnmaxf_trunc_<MODE_SDF>): New.
+
+2010-11-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/46461
+       * tree-ssa-forwprop.c (simplify_builtin_call): Ensure ptr1 is
+       a gimple val.
+
+2010-11-15  Ian Lance Taylor  <iant@google.com>
+
+       * godump.c: New file.
+       * common.opt (fdump-go-spec=): New option.
+       * tree.h: Add comments for TYPE_SYMTAB_ADDRESS and friends.
+       (TYPE_SYMTAB_IS_ADDRESS, TYPE_SYMTAB_IS_POINTER): Define.
+       (TYPE_SYMTAB_IS_DIE): Define.
+       (struct tree_type): Change GTY for symtab field to use
+       TYPE_SYMTAB_IS_ADDRESS and friends and to use a debug_hooks field
+       to pick the union field.
+       * debug.h (struct gcc_debug_hooks): Add tree_type_symtab_field.
+       (dump_go_spec_init): Declare.
+       * toplev.c (process_options): Handle flag_dump_go_spec.
+       * debug.c: Include "tree.h".
+       (do_nothing_debug_hooks): Set tree_type_symtab_field.
+       * dwarf2out.c (dwarf2_debug_hooks): Likewise.
+       * dbxout.c (dbx_debug_hooks): Likewise.
+       (xcoff_debug_hooks): Likewise.
+       * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
+       * sdbout.c (sdb_debug_hooks): Likewise.  Do not define if
+       SDB_DEBUGGING_INFO is not defined.
+       * doc/invoke.texi (Option Summary): Mention -fdump-go-spec.
+       (Overall Options): Document -fdump-go-spec.
+       * Makefile.in (OBJS-common): Add godump.o.
+       (debug.o): Add dependency on $(TREE_H).
+       (godump.o): New target.
+       (GTFILES): Add $(srcdir)/godump.c.
+
+2010-11-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/46095
+       * config/i386/i386.c (pro_epilogue_adjust_stack): Instead of
+       marking r11 set RTX_FRAME_RELATED_P if offset is too large for
+       style < 0, add REG_FRAME_RELATED_EXPR.
+
+       PR debug/46387
+       * rtl.h (vt_equate_reg_base_value): New prototype.
+       * alias.c (vt_equate_reg_base_value): New function.
+       * var-tracking.c (vt_init_cfa_base): Use it.
+
+2010-11-15  Jan Hubicka  <jh@suse.cz>
+           Diego Novillo  <dnovillo@google.com>
+
+       PR lto/41528
+       * doc/lto.texi: Add.
+       * doc/gccint.texi: Add reference to lto.texi.
+       * doc/invoke.texi: Update user documentation for LTO.
+       Move internal flags to lto.texi
+
+2010-11-15  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * c-typeck.c (build_unary_op): Use
+       objc_build_incr_expr_for_property_ref to build the pre/post
+       increment/decrement of an Objective-C property ref, and skip the
+       lvalue_or_else check in that case.
+
+2010-11-15  Martin Jambor  <mjambor@suse.cz>
+
+       PR tree-optimization/46349
+       * tree-sra.c (contains_bitfld_comp_ref_p): New function.
+       (contains_vce_or_bfcref_p): Likewise.
+       (sra_modify_assign): Use them.
+
 2010-11-15  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/46467