OSDN Git Service

* config/stormy16/stormy16.h (LINK_SPEC, WCHAR_TYPE): Define.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 988dd2e..68ac27b 100644 (file)
@@ -1,3 +1,341 @@
+2010-12-15  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/stormy16/stormy16.h (LINK_SPEC, WCHAR_TYPE): Define.
+       * config.gcc (xstormy16-*-elf): Don't use svr4.h.
+
+2010-12-15  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/rx/rx.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
+       * config.gcc (rx-*-elf*): Don't use svr4.h.
+
+2010-12-14  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR tree-optimization/46845
+       * sese.c (scalar_evolution_in_region): Handle scop parameters
+       before scev analysis.
+
+2010-12-14  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR tree-optimization/46928
+       * tree-data-ref.c (analyze_overlapping_iterations): Handle "A[p] == A[p]"
+       in data dependence analysis with p a parameter of the loop.
+
+2010-12-14  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR tree-optimization/45948
+       * tree-loop-distribution.c (ssa_name_has_uses_outside_loop_p): New.
+       (stmt_has_scalar_dependences_outside_loop): New.
+       (stmt_generated_in_another_partition): New.
+       (add_scalar_computations_to_partition): New.
+       (rdg_build_partitions): Call add_scalar_computations_to_partition.
+
+2010-12-14  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/arc/arc.h (LIB_SPEC): Define.
+       * config.gcc (arc-*-elf*): Don't use svr4.h.
+
+2010-12-14  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/sh/elf.h (LIB_SPEC): Define.
+       * config.gcc (sh-*-elf* | sh[12346l]*-*-elf* | sh-*-symbianelf* |
+       sh[12346l]*-*-symbianelf* | sh-*-linux* | sh[2346lbe]*-*-linux* |
+       sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* |
+       sh5l*-*-netbsd* | sh64-*-netbsd* | sh64l*-*-netbsd*, sh-*-rtems*,
+       sh-wrs-vxworks): Don't use svr4.h.
+
+2010-12-14  Jan Hubicka  <jh@suse.cz>
+
+       PR lto/46940
+       PR lto/44463
+       * lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Construct nodes
+       for aliases when they are used.
+
+2010-12-14  Joseph Myers  <joseph@codesourcery.com>
+
+       * config.gcc (sparc-*-elf*, sparc-*-rtems*, sparc-*-linux*,
+       sparc-*-netbsdelf*, sparc*-*-solaris2*, sparc-wrs-vxworks,
+       sparc64-*-elf*, sparc64-*-rtems*, sparc64-*-linux*,
+       sparc64-*-netbsd*, sparc64-*-openbsd*): Don't use svr4.h.
+
+2010-12-14  Thomas Klein  <th.r.klein@web.de>
+
+       * config/arm/arm.c (arm_expand_prologue): Report the static stack
+       size if -fstack-usage is used.
+       (thumb1_expand_prologue): Likewise.
+
+2010-12-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/46885
+       * tree-ssa-loop-manip.c (canonicalize_loop_ivs): Use gsi_last_bb
+       instead of gsi_last_nondebug_bb if bump_in_latch.
+
+       PR tree-optimization/46909
+       * gimple-fold.c (and_var_with_comparison_1): Save partial
+       result even in the is_and case, if both partial results
+       are the same, return it.
+       (or_var_with_comparison_1): Use is_or predicate instead of
+       innercode == TRUTH_OR_EXPR test.  Save partial result
+       even in the is_or case, if both partial results are the
+       same, return it.  In the !is_or case when both partial
+       results are the same, return the partial result instead
+       of boolean_true_node.
+
+2010-12-14  Jan Hubicka  <jh@suse.cz>
+
+       PR middle-end/46667
+       * varasm.c (assemble_start_function): Do not call resolve_unique_section.
+       * cfgexpand.c (gimple_expand_cfg): Resolve it here.
+
+2010-12-14  Alexander Monakov  <amonakov@ispras.ru>
+
+       PR rtl-optimization/46875
+       * sched-vis.c (print_pattern): Dump "sequence" for ADDR_VECs.
+       * sel-sched-ir.c (bb_has_removable_jump_to_p): Forbid table jumps.
+
+2010-12-14  Kaushik Phatak <kaushik.phatak@kpitcummins.com>
+
+       * config/h8300/h8300.md (define_split) : Add condition for
+       "and with single_zero" splitter to handle 16-bit const operands.
+       * config/h8300/h8300.md (define_split) : Add condition for
+       "ior with single_one" splitter to handle 16-bit const operands.
+       * config/h8300/h8300.md (define_split) : Add condition for
+       "xor with single_one" splitter to handle 16-bit const operands. 
+       * testsuite/gcc.dg/h8300-bit-insn-ice.c: New.
+
+2010-12-13  Jan Hubicka  <jh@suse.cz>
+
+       PR middle-end/45388
+       * ipa.c (cgraph_build_static_cdtor_1): Break out from ... ; add FINAL parameter.
+       (cgraph_build_static_cdtor): ... here.
+       (build_cdtor): Use cgraph_build_static_cdtor_1.
+
+2010-12-13  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/m32c/m32c.h (ENDFILE_SPEC, LINK_SPEC, SIZE_TYPE,
+       PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
+       * config.gcc (m32c-*-rtems*, m32c-*-elf*): Don't use svr4.h.
+
+2010-12-14  Bernd Schmidt  <bernds@codesourcery.com>
+
+       PR rtl-optimization/44374
+       Reapply patch with fixes.
+       * basic-block.h (enum bb_flags): Add BB_MODIFIED.
+       * df-core.c (df_set_bb_dirty): Set it.
+       * ifcvt.c (find_memory): Remove function.
+       (dead_or_predicable): Use can_move_insns_across.
+       * df.h (can_move_insns_across): Declare function.
+       * cfgcleanup.c (block_was_dirty): New static variable.
+       (flow_find_head_matching_sequence): Test for epilogue notes.
+       (try_crossjump_bb, try_forward_edges): Test BB_MODIFIED flag rather
+       than df_get_bb_dirty.
+       (try_head_merge_bb): New static function.
+       (try_optimize_cfg): Call it.  Call df_analyze if block_was_dirty
+       is set.
+       * df-problems.c: Include "target.h"
+       (df_simulate_find_uses): New static function.
+       (MEMREF_NORMAL, MEMREF_VOLATILE): New macros.
+       (find_memory, find_memory_store): New static functions.
+       (can_move_insns_across): New function.
+       * Makefile.in (df-problems.o): Update dependencies.
+
+2010-12-13  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/xtensa/elf.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
+       (DBX_REGISTER_NUMBER): Undefine.
+       * config/xtensa/linux.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
+       (DBX_REGISTER_NUMBER): Undefine.
+       * config.gcc (xtensa*-*-elf*, xtensa*-*-linux*): Don't use svr4.h.
+
+2010-12-13  Jack Howarth <howarth@bromo.med.uc.edu>
+           Joseph Myers <joseph@codesourcery.com>
+
+       PR bootstrap/46650
+       * system.h: Include cstring for cxx bootstrap.
+
+2010-12-13  Jakub Jelinek  <jakub@redhat.com>
+
+       PR lto/46879
+       * lto-streamer-out.c (output_gimple_stmt): Never replace first
+       GIMPLE_DEBUG argument with MEM_REF.
+
+       PR debug/46867
+       * var-tracking.c (emitted_notes, string_pointer_flags): Removed.
+       (emit_note_insn_var_location): Remove ENABLE_RTL_CHECKING verification.
+       (vt_emit_notes): Don't initialize and destroy emitted_notes.
+
+2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
+
+       PR target/46040
+       * config.gcc (arm*-*-linux-*eabi): Use bpabi-lib.h.
+       (arm*-*-uclinux*eabi, arm*-*-eabi*): Likewise.
+
+2010-12-13  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/v850/v850.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
+       WCHAR_TYPE_SIZE): Define.
+       * config.gcc (v850e1-*-*, v850e-*-*, v850-*-*): Don't use svr4.h.
+
+2010-12-13  Joseph Myers  <joseph@codesourcery.com>
+
+       * config.gcc (s390-*-linux*, s390x-*-linux*, s390x-ibm-tpf*):
+       Don't use svr4.h.
+
+2010-12-13  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/mn10300/linux.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
+       WCHAR_TYPE_SIZE): Undefine.
+       * config/mn10300/mn10300.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
+       WCHAR_TYPE_SIZE): Define.
+       * config.gcc (mn10300-*-*): Don't use svr4.h.
+
+2010-12-13  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/m68k/linux.h (DBX_REGISTER_NUMBER): Undefine and
+       redefine.
+       (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
+       * config.gcc (m68k-*-uclinux*, m68k-*-linux*): Don't use svr4.h.
+
+2010-12-13  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR debug/46576
+       * jump.c (mark_all_labels): Skip debug insns.
+
+2010-12-13  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR debug/46782
+       * cfgcleanup.c (try_forward_edges): Skip debug insns.
+
+2010-12-12  Jan Hubicka  <jh@suse.cz>
+           Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * varasm.c (default_function_section): Check flag_reorder_functions
+       and targetm.have_named_sections.
+       * config/darwin.c (darwin_function_section): Check
+       flag_reorder_functions.
+
+2010-12-12  Finn Thain  <fthain@telegraphics.com.au>
+
+       PR target/46179
+       * config/m68k/m68k.c (handle_move_double): Insert calls to
+       m68k_final_prescan_insn to clean up @TLS operand syntax.
+
+2010-12-10  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR tree-optimization/43023
+       * tree-data-ref.c (mem_write_stride_of_same_size_as_unit_type_p):
+       Removed.
+       (stores_zero_from_loop): Call stmt_stores_zero.
+       * tree-data-ref.h (stmt_stores_zero): New.
+       * tree-loop-distribution.c (generate_memset_zero): Do not return a
+       boolean.  Call gcc_assert on stride_of_unit_type_p.
+       (generate_builtin): Call stmt_stores_zero.
+       (rdg_flag_all_uses): Removed.
+       (rdg_flag_similar_memory_accesses): Removed.
+       (build_rdg_partition_for_component): Removed parameter
+       other_stores.  Removed call to rdg_flag_similar_memory_accesses.
+       (can_generate_builtin): New.
+       (similar_memory_accesses): New.
+       (fuse_partitions_with_similar_memory_accesses): New.
+       (rdg_build_partitions): Call
+       fuse_partitions_with_similar_memory_accesses.
+
+2010-12-10  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/46804
+       * regmove.c (optimize_reg_copy_3): Look for REG_EQUAL note
+       on the setter of src_reg rather than on insn.  If it is
+       equal to the setter's original SET_SRC, replace it with its
+       zero or sign extension instead of dropping it.
+
+2010-12-10  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/46808
+       * lto-symtab.c (lto_symtab_merge_decls_2): Avoid type warnings
+       after errors.
+       (lto_symtab_merge_decls_1): Adjust.
+
+2010-12-10  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR middle-end/46674
+       PR lto/43157
+       * target.def (mangle_assembler_name): New target asm_out hook.
+       * targhooks.c (default_mangle_assembler_name): Add default hook
+       implementation.
+       * targhooks.h (default_mangle_assembler_name): Add prototype.
+       * lto-symtab.c (lto_symtab_register_decl): Use new hook when
+       processing DECL_ASSEMBLER_NAMEs for lto symtabs.
+       (lto_symtab_get_resolution): Likewise.
+       (lto_cgraph_replace_node): Likewise.
+       (lto_symtab_prevailing_decl): Likewise.
+       * lto-streamer-out.c (write_symbol): Likewise.
+       * doc/tm.texi.in (TARGET_MANGLE_ASSEMBLER_NAME): Add @hook directive.
+       * doc/tm.texi: Regenerate.
+       * config/i386/cygming.h (TARGET_MANGLE_ASSEMBLER_NAME): Define to
+       point at i386_pe_mangle_assembler_name.
+       * config/i386/winnt.c (i386_pe_mangle_assembler_name): New function.
+       * config/i386/i386-protos.h (i386_pe_mangle_assembler_name): Add
+       prototype.
+
+2010-12-10  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * c-typeck.c (readonly_error): Delete.
+
+2010-12-10  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/46865
+       * rtl.c (rtx_equal_p_cb, rtx_equal_p): For last operand of
+       ASM_OPERANDS and ASM_INPUT if integers are different,
+       call locator_eq.
+       * jump.c (rtx_renumbered_equal_p): Likewise.
+
+       PR tree-optimization/46864
+       * tree-ssa-loop-im.c (loop_suitable_for_sm): Return false even
+       when there are EDGE_EH exit edges.
+
+2010-12-10  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/46540
+       * configure.ac: Handle --disable-libquadmath-support.
+       * doc/install.texi: Document --disable-libquadmath and
+       --disable-libquadmath-support
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2010-12-10  Jack Howarth  <howarth@bromo.med.uc.edu>
+           Iain Sandoe  <iains@gcc.gnu.org>
+
+       PR 43751/target
+       * config/darwin9.h (DSYMUTIL_SPEC): Add fortran source types.
+
+2010-12-10  Iain Sandoe <iains@gcc.gnu.org>
+
+       * config/rs6000/rs6000.c
+       (rs6000_darwin64_record_arg_advance_recurse): Name register increment
+       explicitly.  (rs6000_darwin64_record_arg_recurse): Make sure we split
+       long doubles when we run out of regs.   Also flag that this requires
+       stack and therefore cannot be returned by value.
+       (rs6000_darwin64_record_arg): Update comment.
+       (rs6000_function_value): Likewise.
+
+2010-12-10  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * c-parser.c (c_parser_objc_class_definition): Recognize
+       Objective-C 2.0 class extensions.
+
+2010-12-10  Iain Sandoe <iains@gcc.gnu.org>
+
+       * config/darwin.c: Remove c-tree.h and c-lang.h
+       * config/t-darwin: Remove dependencies on c-tree.h and c-lang.h.
+
+2010-12-10  Joern Rennecke  <amylaar@spamcop.net>
+
+       PR target/46881
+       * doc/tm.texi: Regenerate.
+       * target.def: Fix "preferred" spelling.  Refer to rclass by its
+       exact name.
+       * config/arm/arm.c (arm_preferred_rename_class): Rename parameter class
+       to rclass.
+
 2010-12-09  Paul Koning  <ni1d@arrl.net>
 
        * config/pdp11/pdp11-protos.h (output_move_double,
        (abshi2): Delete.
        (neghi2, negqi2): Use PDPint iterator.
        * config/pdp11/pdp11.c (find_addr_reg, output_move_double,
-       output_move_quad): Delete. 
+       output_move_quad): Delete.
        (pdp11_expand_operands, output_move_multiple): New functions.
-       
+
 2010-12-09  Joseph Myers  <joseph@codesourcery.com>
 
        * config/vax/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
        blocks will be created. Update dominator info.
        (sel_redirect_edge_and_branch): Update dominator info when
        basic blocks do not become unreachable.
-       (sel_remove_loop_preheader): Update dominator info. 
+       (sel_remove_loop_preheader): Update dominator info.
 
 2010-12-07  Richard Guenther  <rguenther@suse.de>