- 28 Nov, 2012 13 commits
-
-
* config/epiphany/epiphany.md (mov<mode>, *mov<mode>_insn): Check for misaligned memory operands. * config/epiphany/predicates.md (misaligned_operand): New predicate. From-SVN: r193890
Joern Rennecke committed -
* config/epiphany/epiphany.h (HARD_REGNO_RENAME_OK): Define. * config/epiphany/epiphany-protos.h (epiphany_regno_rename_ok): Declare. * config/epiphany/epiphany.c (epiphany_regno_rename_ok): New function. From-SVN: r193889
Joern Rennecke committed -
re PR tree-optimization/54547 (FAIL: gcc.dg/tree-ssa/pr37508.c scan-tree-dump-times vrp1 "Folding" 3) 2012-11-28 Richard Biener <rguenther@suse.de> PR tree-optimization/54547 * tree-vrp.c (set_and_canonicalize_value_range): Handle 1-bit anti-ranges explicitely. (extract_range_from_assert): Properly canonicalize all built anti-ranges. From-SVN: r193888
Richard Biener committed -
From-SVN: r193887
Eric Botcazou committed -
stor-layout.c (layout_type): Do not clear TREE_OVERFLOW on overflowed zeroes, except in one specific case. * stor-layout.c (layout_type) <ARRAY_TYPE>: Do not clear TREE_OVERFLOW on overflowed zeroes, except in one specific case. ada/ * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Use valid_constant_size_p to detect too large objects. <E_Subprogram_Type>: Likewise for too large return types. (allocatable_size_p): Call valid_constant_size_p in the fixed case. (annotate_value) <INTEGER_CST>: Simplify. <BIT_AND_EXPR>: Deal with negative values here. * gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>: Use valid_constant_size_p to detect too large objects on the LHS. * gcc-interface/misc.c (default_pass_by_ref): Likewise for large types. And use TYPE_SIZE_UNIT throughout. (must_pass_by_ref): Likewise. * gcc-interface/utils.c (max_size) <tcc_unary>: Split from common case. <tcc_binary>: Likewise. Call size_binop instead of fold_build2. <tcc_expression>: Simplify. * gcc-interface/utils2.c (build_allocator): Use valid_constant_size_p to detect too large allocations. From-SVN: r193886
Eric Botcazou committed -
re PR c++/55497 (Local array (char[]) initialized with a size taken from a static variable creates an ICE) 2012-11-28 Paolo Carlini <paolo.carlini@oracle.com> PR c++/55497 * g++.dg/init/pr55497.C: New. From-SVN: r193885
Paolo Carlini committed -
2012-11-28 Marc Glisse <marc.glisse@inria.fr> PR middle-end/55266 * fold-const.c (fold_ternary_loc) [BIT_FIELD_REF]: Handle CONSTRUCTOR with vector elements. * tree-ssa-propagate.c (valid_gimple_rhs_p): Handle CONSTRUCTOR and BIT_FIELD_REF. From-SVN: r193884
Marc Glisse committed -
re PR testsuite/55327 (FAIL: gcc.dg/vect/slp-perm-8.c scan-tree-dump-times vect "vectorized 1 loops" 2) 2012-11-28 Richard Biener <rguenther@suse.de> PR testsuite/55327 * gcc.dg/vect/slp-perm-8.c: Mark worker as noinline. * gcc.dg/vect/slp-perm-9.c: Likewise. From-SVN: r193883
Richard Biener committed -
2012-11-28 Richard Biener <rguenther@suse.de> PR c/35634 * gimple.h (gimplify_self_mod_expr): Declare. * gimplify.c (gimplify_self_mod_expr): Export. Take a different type for performing the arithmetic in. (gimplify_expr): Adjust. * tree-vect-loop-manip.c (vect_can_advance_ivs_p): Strip sign conversions we can re-apply after adjusting the IV. c-family/ * c-gimplify.c (c_gimplify_expr): Gimplify self-modify expressions here and use a type with proper overflow behavior for types that would need to be promoted for the arithmetic. * gcc.dg/torture/pr35634.c: New testcase. * g++.dg/torture/pr35634.C: Likewise. * gcc.dg/vect/pr18536.c: Mark worker function noinline. From-SVN: r193882
Richard Biener committed -
* include/std/functional (_Mem_fn): Constrain function call operators to avoid ambiguities. Use perfect forwarding. * testsuite/20_util/function_objects/mem_fn/55463.cc: Additional tests. * testsuite/20_util/function_objects/mem_fn/forward.cc: New. * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers. From-SVN: r193879
Jonathan Wakely committed -
From-SVN: r193878
GCC Administrator committed -
re PR rtl-optimization/55006 (aermod.f90 is miscompiled with '-m64 -O2 -funroll-loops' after revision 192526) PR rtl-optimization/55006 * loop-unroll.c (struct iv_to_split): Add new 'orig_var' member. (analyze_iv_to_split_insn): Record it. (maybe_strip_eq_note_for_split_iv): New function to remove REG_EQUAL notes that refer to IVs that are being split. (apply_opt_in_copies): Use maybe_strip_eq_note_for_split_iv. Twice. Use FOR_BB_INSNS_SAFE. From-SVN: r193876
Steven Bosscher committed -
From-SVN: r193874
Ian Lance Taylor committed
-
- 27 Nov, 2012 22 commits
-
-
* rtl.h (debug_bb_n_slim, debug_bb_slim, debug_insn_slim): Remove prototypes. (debug_rtl_slim): Rename to dump_rtl_slim. (print_value_slim): Rename to dump_value_slim. * ira.c (ira_update_equiv_info_by_shuffle_insn): Update print_value_slim user. * lra.c (lra_process_new_insns): Use dump_insn_slim to dump single insns. Use dump_rtl_slim for insn chains. * lra-constraints.c (get_reload_reg): Update print_value_slim user. (process_addr_reg): Likewise. (equiv_address_substitution): Likewise. (inherit_reload_reg): Likewise. Use dump_insn_slim to dump single insns. (check_and_process_move): Likewise. (lra_constraints): Likewise. (split_reg): Likewise. (update_ebb_live_info): Likewise. (remove_inheritance_pseudos): Likewise. * sched-vis.c: Don't include sched-int.h. Remove #ifdef INSN_SCHEDULING tests. (print_value_slim): Rename to dump_value_slim. Simplify a few cases using GET_RTX_NAME. (print_pattern): Do not handle UNSPEC and UNSPECV here, explain why. (print_insn): Reorganize code to be independent of INSN_SCHEDULING. Always print CALL_INSN patterns. Harmonize INSN_UID dumping template. Handle NOTE_INSN_CALL_ARG_LOCATION. (dump_rtl_slim): Copied from debug_rtl_slim. (debug_rtl_slim): Wrapper around dump_rtl_slim to stderr. * haifa-sched.c (schedule_insn): Update print_insn user. From-SVN: r193873
Steven Bosscher committed -
2012-11-27 Tobias Burnus <burnus@net-b.de> PR fortran/55476 * expr.c (gfc_check_pointer_assign): Fix check pointer-might-outlive-target check for host_assoc. 2012-11-27 Tobias Burnus <burnus@net-b.de> PR fortran/55476 * gfortran.dg/warn_target_lifetime_3.f90: New. From-SVN: r193872
Tobias Burnus committed -
re PR rtl-optimization/55458 (ICE: in assign_by_spills, at lra-assigns.c:1212 with -fPIC -m32 and simple asm volatile) 2012-11-27 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/55458 * lra-assigns.c: Include rtl-error.h. (assign_by_spills): Report about asm inpossible constraints. * Makefile.in (lra-assigns.c): Add $(RTL_ERROR_H). 2012-11-27 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/55458 * gcc.target/i386/pr55458.c: New test. From-SVN: r193871
Vladimir Makarov committed -
Format is @headername{hdr1,hdr2} not @headername{hdr1 or hdr2}. 2012-11-27 Ollie Wild <aaw@google.com> * include/bits/stl_tree.h (@headername): Fix incorrect Doxygen macro invocation. From-SVN: r193869
Ollie Wild committed -
2012-11-27 Paolo Bonzini <pbonzini@redhat.com> PR rtl-optimization/55489 * gcse.c (compute_transp): Precompute a canonical version of XEXP (x, 0), and pass it to canon_true_dependence. * alias.c (init_alias_analysis): Fix allocation of reg_known_value. From-SVN: r193868
Paolo Bonzini committed -
This patch restores bootstrap when detailed memory stats are enabled. No functional changes. Tested on x86_64. Committed to trunk. 2012-11-27 Diego Novillo <dnovillo@google.com> * vec.h: Replace 'class vec' with 'struct vec' everywhere. (ggc_internal_cleared_alloc_stat): Remove. (va_gc::reserve): Add PASS_MEM_STAT to ggc_realloc_stat call. (va_stack::reserve): Add PASS_MEM_STAT to va_heap::reserve call. (vec<T, A, vl_embed>::copy): Replace ALONE_MEM_STAT_DECL with ALONE_CXX_MEM_STAT_INFO. (vec_safe_reserve): Replace MEM_STAT_DECL with CXX_MEM_STAT_INFO. (vec_safe_reserve_exact): Likewise. (vec_alloc): Likewise. (vec_safe_grow): Likewise. (vec_safe_grow_cleared): Likewise. (vec_safe_push): Likewise. (vec_safe_insert): Likewise. (vec_safe_splice): Likewise. (vec_alloc): Likewise. (vec_check_alloc): Likewise. From-SVN: r193864
Diego Novillo committed -
2012-11-27 Marc Glisse <marc.glisse@inria.fr> * tree-cfg.c (verify_gimple_comparison): Verify that vector comparison returns a vector. From-SVN: r193862
Marc Glisse committed -
2012-11-27 Meador Inge <meadori@codesourcery.com> * collect2.c (main): Call find_file_set_debug. (find_a_find, add_prefix, prefix_from_env, prefix_from_string): Factor out into ... * file-find.c (New file): ... here and ... * file-find.h (New file): ... here. * gcc-ar.c (standard_exec_prefix): New variable. (standard_libexec_prefix): Ditto. (tooldir_base_prefix) Ditto. (self_exec_prefix): Ditto. (self_libexec_prefix): Ditto. (self_tooldir_prefix): Ditto. (target_version): Ditto. (path): Ditto. (target_path): Ditto. (setup_prefixes): New function. (main): Rework how wrapped programs are found. * Makefile.in (OBJS-libcommon-target): Add file-find.o. (AR_OBJS): New variable. (gcc-ar$(exeext)): Add dependency on $(AR_OBJS). (gcc-nm$(exeext)): Ditto. (gcc-ranlib(exeext)): Ditto. (COLLECT2_OBJS): Add file-find.o. (collect2.o): Add file-find.h prerequisite. (file-find.o): New rule. From-SVN: r193859
Meador Inge committed -
2010-11-27 Dehao Chen <dehao@google.com> * ipa-prop.c (ipa_modify_call_arguments): Set loc correctly. * emit-rtl.c (last_location): Remove unused variable. From-SVN: r193857
Dehao Chen committed -
* config/i386/i386.md (*jcc<X87MODEF:mode>_<SWI24:mode>_i387 splitters): Remove unneeded temporary. From-SVN: r193856
Uros Bizjak committed -
2012-11-27 Dehao Chen <dehao@google.com> * cfgrtl.c (rtl_merge_blocks): Check with UNKNOWN_LOCATION correctly. (cfg_layout_merge_blocks): Likewise. From-SVN: r193852
Dehao Chen committed -
* passes.c (init_optimization_passes): Add pass_asan and pass_tsan to -Og optimization passes. From-SVN: r193850
Jakub Jelinek committed -
From-SVN: r193849
Kostya Serebryany committed -
PR lto/54795 * lto-opts.c (lto_write_options): Also handle OPT_SPECIAL_unknown, OPT_SPECIAL_ignore and OPT_SPECIAL_program_name. PR lto/55474 * lto-wrapper.c (merge_and_complain): Handle OPT_SPECIAL_unknown, OPT_SPECIAL_ignore, OPT_SPECIAL_program_name and OPT_SPECIAL_input_file. Co-Authored-By: Markus Trippelsdorf <markus@trippelsdorf.de> From-SVN: r193848
H.J. Lu committed -
PR middle-end/52650 * function.c (instantiate_virtual_regs_in_insn): Don't delete invalid asm gotos, instead just clear their template and inputs. From-SVN: r193846
Jakub Jelinek committed -
re PR tree-optimization/55110 (Internal compiler error in vectorizable_reduction, at tree-vect-loop.c:4633) PR tree-optimization/55110 * tree-vect-loop.c (vectorizable_reduction): Don't assert that STMT_VINFO_RELATED_STMT of orig_stmt is stmt. * gcc.dg/pr55110.c: New test. From-SVN: r193845
Jakub Jelinek committed -
2012-11-27 Richard Biener <rguenther@suse.de> * gimple-fold.c (fold_stmt_1): Remove unnecessary code. From-SVN: r193844
Richard Biener committed -
* configure.ac: Disable libsanitizer if we're not building C++. * configure: Regenerate. From-SVN: r193842
Siddhesh Poyarekar committed -
* config/arm/arm.c (thumb1_reorg): New function. (arm_reorg): Call thumb1_reorg. (thumb1_final_prescan_insn): Record src operand in thumb1_cc_op0. * config/arm/arm.md : Remove peephole2 patterns which rewrite move into subtract of ZERO. From-SVN: r193841
Bin Cheng committed -
2012-11-27 Richard Biener <rguenther@suse.de> PR middle-end/55331 * gimple-fold.c (gimplify_and_update_call_from_tree): Replace stmt with a NOP instead of removing it. * g++.dg/opt/pr55331.C: New testcase. From-SVN: r193839
Richard Biener committed -
From-SVN: r193836
GCC Administrator committed -
* loop-invariant.c (check_invariant_table_size): Take sizeof of the right type. * reorg.c (resource_conflicts_p): Use hard_reg_set_intersect_p. (rare_destination): Remove. (mostly_true_jump): Simplify. Base result on REG_BR_PROP notes if available, otherwise assume branches are not taken. (fill_eager_delay_slots): Update mostly_true_jump call. (relax_delay_slots): Likewise. From-SVN: r193834
Steven Bosscher committed
-
- 26 Nov, 2012 5 commits
-
-
* include/std/functional (__is_socketlike): Change from class template to alias template. From-SVN: r193832
Jonathan Wakely committed -
PR libstdc++/55463 * include/std/functional (_Mem_fn): Handle rvalue objects. Add noexcept-specifications. * testsuite/20_util/function_objects/mem_fn/55463.cc: New. * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers. From-SVN: r193831
Jonathan Wakely committed -
From-SVN: r193830
Steven Bosscher committed -
From-SVN: r193829
Eric Botcazou committed -
* gcc.dg/54455.c: Require scheduling. * gcc.dg/c1x-align-4.c: Skip avr. * gcc.dg/pr44024.c: Skip avr in final scan. From-SVN: r193827
Georg-Johann Lay committed
-