OSDN Git Service

2012-02-15 Tobias Grosser <grosser@fim.uni-passau.de>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 536933b..1e3d36f 100644 (file)
@@ -1,3 +1,210 @@
+2012-02-15  Tobias Grosser <grosser@fim.uni-passau.de>
+
+       PR tree-optimization/50561
+       * graphite-flattening.c (lst_project_loop): Do not
+       remove old scattering dimensions after flattening.
+       (lst_do_flatten): Likewise.
+
+2012-02-15  Georg-Johann Lay  <avr@gjlay.de>
+
+       * doc/extend.texi (AVR Built-in Functions): Remove doc for
+       __builtin_avr_map8, __builtin_avr_map16.
+       Document __builtin_avr_insert_bits.
+
+       * config/avr/avr.md (map_bitsqi, map_bitshi): Remove.
+       (insert_bits): New insn.
+       (adjust_len.map_bits): Rename to insert_bits.
+       (UNSPEC_MAP_BITS): Rename to UNSPEC_INSERT_BITS.
+       * avr-protos.h (avr_out_map_bits): Remove.
+       (avr_out_insert_bits, avr_has_nibble_0xf): New.
+       * config/avr/constraints.md (Cxf,C0f): New.
+       * config/avr/avr.c (avr_cpu_cpp_builtins): Remove built-in
+       defines __BUILTIN_AVR_MAP8, __BUILTIN_AVR_MAP16.
+       New built-in define __BUILTIN_AVR_INSERT_BITS.
+       * config/avr/avr.c (TARGET_FOLD_BUILTIN): New define.
+       (enum avr_builtin_id): Add AVR_BUILTIN_INSERT_BITS.
+       (avr_move_bits): Rewrite.
+       (avr_fold_builtin, avr_map_metric, avr_map_decompose): New static
+       functions.
+       (avr_map_op_t): New typedef.
+       (avr_map_op): New static variable.
+       (avr_out_insert_bits, avr_has_nibble_0xf): New functions.
+       (adjust_insn_length): Handle ADJUST_LEN_INSERT_BITS.
+       (avr_init_builtins): Add definition for __builtin_avr_insert_bits.
+       (bdesc_3arg, avr_expand_triop_builtin): New.
+       (avr_expand_builtin): Use them. And handle AVR_BUILTIN_INSERT_BITS.
+       (avr_revert_map, avr_swap_map, avr_id_map, avr_sig_map): Remove.
+       (avr_map_hamming_byte, avr_map_hamming_nonstrict): Remove.
+       (avr_map_equal_p, avr_map_sig_p): Remove.
+       (avr_out_swap_bits, avr_out_revert_bits, avr_out_map_bits): Remove.
+       (bdesc_2arg): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16.
+       (adjust_insn_length): Remove handling for ADJUST_LEN_MAP_BITS.
+       (enum avr_builtin_id): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16.
+       (avr_init_builtins): Remove __builtin_avr_map8, __builtin_avr_map16.
+       (avr_expand_builtin): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16.
+
+2012-02-14  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * config/c6x/c6x.md (reserve_cycles): New attribute.
+       * config/c6x/c6x.c (c6x_sched_reorder_1): Ensure insns we predicate
+       don't reserve functional units after the branch occurs.
+
+2012-02-14  Aldy Hernandez  <aldyh@redhat.com>
+
+       PR middle-end/52142
+       * ipa-inline.c (can_inline_edge_p): Do not inline tm_pure
+       functions into non-tm_pure functions.
+
+2012-02-14  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR lto/52178
+       * gimple.c (iterative_hash_gimple_type): Use RECORD_OR_UNION_TYPE_P.
+       (iterative_hash_canonical_type): Likewise.
+       * tree-ssa-pre.c (fini_pre): Clean up the CFG only after purging all
+       the dead edges.
+
+2012-02-14  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * haifa-sched.c (prune_ready_list): Ensure that if there is a
+       sched-group insn, it either remains alone or the entire list is
+       pruned.
+
+2012-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * doc/install.texi (Prerequisites): Fix grammar.
+       (Configuration): Likewise.
+
+2012-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * doc/install.texi (Prerequisites): Suggest building GMP, MPFR and
+       MPC as part of GCC before describing configuring with --with-gmp etc.
+       (Installing GCC: Configuration): --with-gmp etc. aren't needed if
+       sources are present.
+
+2012-02-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/51950
+       * dwarf2out.c (clone_tree_hash): New function.
+       (copy_decls_walk): Use it instead of clone_tree.
+
+2012-02-14  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/52244
+       PR tree-optimization/51528
+       * tree-sra.c (analyze_access_subtree): Only create INTEGER_TYPE
+       replacements for integral types.
+
+2012-02-14  Walter Lee  <walt@tilera.com>
+
+       * config.gcc: Handle tilegx and tilepro.
+       * configure.ac (gcc_cv_as_dwarf2_debug_line): Enable test for
+       tilegx and tilepro.
+       Add HAVE_AS_TLS check for tilegx and tilepro.
+       * configure: Regenerate.
+       * doc/contrib.texi: Add Mat Hostetter and self.
+       * doc/extend.texi (TILE-Gx Built-in Functions): New node.
+       Document instruction intrinsics and network accessing intrinsics.
+       (TILEPro Built-in Functions): New node.  Document instruction
+       intrinsics and network accessing intrinsics.
+       * doc/install.texi (Specific, tilegx-*-linux*): Document it.
+       (Specific, tilepro-*-linux*): Likewise.
+       * doc/invoke.texi (TILE-Gx Options): New section.
+       (TILEPro Options): New section.
+       * doc/md.texi (TILE-Gx): New section.
+       (TILEPro): New section.
+       * common/config/tilegx/tilegx-common.c: New file.
+       * common/config/tilepro/tilepro-common.c: New file.
+       * config/tilegx/constraints.md: New file.
+       * config/tilegx/linux.h: New file.
+       * config/tilegx/mul-tables.c: New file.
+       * config/tilegx/predicates.md: New file.
+       * config/tilegx/sync.md: New file.
+       * config/tilegx/t-tilegx: New file.
+       * config/tilegx/tilegx-builtins.h: New file.
+       * config/tilegx/tilegx-c.c: New file.
+       * config/tilegx/tilegx-generic.md: New file.
+       * config/tilegx/tilegx-modes.def: New file.
+       * config/tilegx/tilegx-multiply.h: New file.
+       * config/tilegx/tilegx-protos.h: New file.
+       * config/tilegx/tilegx.c: New file.
+       * config/tilegx/tilegx.h: New file.
+       * config/tilegx/tilegx.md: New file.
+       * config/tilegx/tilegx.opt: New file.
+       * config/tilepro/constraints.md: New file.
+       * config/tilepro/gen-mul-tables.cc: New file.
+       * config/tilepro/linux.h: New file.
+       * config/tilepro/mul-tables.c: New file.
+       * config/tilepro/predicates.md: New file.
+       * config/tilepro/t-tilepro: New file.
+       * config/tilepro/tilepro-builtins.h: New file.
+       * config/tilepro/tilepro-c.c: New file.
+       * config/tilepro/tilepro-generic.md: New file.
+       * config/tilepro/tilepro-modes.def: New file.
+       * config/tilepro/tilepro-multiply.h: New file.
+       * config/tilepro/tilepro-protos.h: New file.
+       * config/tilepro/tilepro.c: New file.
+       * config/tilepro/tilepro.h: New file.
+       * config/tilepro/tilepro.md: New file.
+       * config/tilepro/tilepro.opt: New file.
+
+2012-02-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/52210
+       * tree-vect-slp.c (vect_get_and_check_slp_defs): Call
+       vect_model_simple_cost with two entry vect_def_type array instead
+       of an address of dt.
+
+2012-02-14  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/52178
+       * tree-streamer-in.c (lto_input_ts_field_decl_tree_pointers):
+       Do not stream DECL_QUALIFIER.
+       * tree-streamer-out.c (write_ts_field_decl_tree_pointers): Likewise.
+       * tree.c (free_lang_data_in_decl): Free DECL_QUALIFIER.
+       (find_decls_types_r): Do not walk DECL_QUALIFIER.
+
+2012-02-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/52181
+       * c-decl.c (merge_decls): Copy DECL_USER_ALIGN bit from olddecl to
+       newdecl.
+
+2012-02-13  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/52172
+       * cselib.h (cselib_subst_to_values_from_insn): New prototype.
+       * cselib.c (cselib_subst_to_values_from_insn): New function.
+       * sched-deps.c (add_insn_mem_dependence,
+       sched_analyze_1, sched_analyze_2): Use it.
+
+2012-02-13  Jan Hubicka  <jh@suse.cz>
+
+       PR middle-end/52214
+       * predict.c (predict_paths_for_bb): Fix thinko in prevoius patch.
+
+2012-02-13  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm.
+       (GTM_SELF_SPECS): Define if not already defined.
+       (driver_self_specs): Add GTM_SELF_SPECS.
+        * config/darwin.h (LINK_COMMAND_SPEC_A): Deal with -fgnu-tm.
+        (GTM_SELF_SPECS): Define.
+       * config/i386/cygwin.h (GTM_SELF_SPECS): Likewise.
+       * config/i386/mingw32.h (GTM_SELF_SPECS): Likewise.
+
+2012-02-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * cselib.c (expand_loc): Return sp, fp, hfp or cfa base reg right
+       away if seen.
+
+       * cselib.c (dump_cselib_val): Don't assume l->setting_insn is
+       non-NULL.
+
+       PR middle-end/52230
+       * omp-low.c (expand_omp_for): If a static schedule without
+       chunk size has NULL region->cont, force fd.chunk_size to be
+       integer_zero_node.
+
 2012-02-13  Andrew MacLeod  <amacleod@redhat.com>
 
        PR c/52190