- 21 Oct, 2013 11 commits
-
-
* ipa-inline.c (edge_badness): Cap edge->count at max_count for badness calculations. From-SVN: r203897
Paulo Matos committed -
* tree-ssa-threadedge.c (thread_through_normal_block): New argument VISITED. Remove VISISTED as a local variable. When we have a threadable jump, verify the destination of the jump has not been visised. (thread_across_edge): Allocate VISITED bitmap once at function scope and use it throughout. Make sure to set appropriate bits in VISITED for E (start of jump thread path). * tree-ssa-threadupdate.c (mark_threaded_blocks): Reject threading through a joiner if any edge on the path has a recorded jump thread. From-SVN: r203895
Jeff Law committed -
invoke.texi (Optimize Options): For -fno-toplevel-reorder, don't imply that attributes can solve all problems. * doc/invoke.texi (Optimize Options): For -fno-toplevel-reorder, don't imply that attributes can solve all problems. (Directory Options): Fix typo. From-SVN: r203894
Ian Lance Taylor committed -
2013-10-20 Edward Smith-Rowland <3dw4rd@verizon.net> PR libstdc++/58804 PR libstdc++/58729 * include/tr2/dynamic_bitset (__dynamic_bitset_base<_WordT, _Alloc>::_M_are_all_aux, __dynamic_bitset_base<_WordT, _Alloc>::_M_do_count): Use __builtin_popcountll() instead of __builtin_popcountl(). * include/tr2/dynamic_bitset.tcc (__dynamic_bitset_base<_WordT, _Alloc>::_M_do_find_first, __dynamic_bitset_base<_WordT, _Alloc>::_M_do_find_next): Use __builtin_ctzll() instead of __builtin_ctzl(). From-SVN: r203893
Edward Smith-Rowland committed -
[gcc/] 2013-10-21 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm.c (cortexa9_extra_costs): Update mult costs for extend and extend_add. From-SVN: r203892
Kyrylo Tkachov committed -
re PR tree-optimization/58794 (ICE in set_lattice_value, at tree-ssa-ccp.c:455 on x86_64-linux-gnu (at -O1, -O2, and -O3)) 2013-10-21 Richard Biener <rguenther@suse.de> PR tree-optimization/58794 * fold-const.c (operand_equal_p): Compare FIELD_DECL operand of COMPONENT_REFs with OEP_CONSTANT_ADDRESS_OF left in place. * c-c++-common/torture/pr58794-1.c: New testcase. * c-c++-common/torture/pr58794-2.c: Likewise. From-SVN: r203891
Richard Biener committed -
2013-10-21 Richard Biener <rguenther@suse.de> PR middle-end/58742 * fold-const.c (fold_binary_loc): Fold ((T) (X /[ex] C)) * C to (T) X for sign-changing conversions (or no conversion). * c-c++-common/fold-divmul-1.c: New testcase. From-SVN: r203890
Richard Biener committed -
* config/i386/i386.md (kxnor<mode>): Add FLAGS_REG clobber. From-SVN: r203889
Uros Bizjak committed -
From-SVN: r203888
Jan Hubicka committed -
* config/i386/i386.c (expand_set_or_movmem_via_loop): Add issetmem argument. Update function comment. (expand_set_or_movmem_via_rep): New function combining expand_movmem_via_rep_mov and expand_setmem_via_rep_stos. (expand_movmem_via_rep_mov): Remove. expand_setmem_via_rep_stos): Remove. (expand_movmem_epilogue): Update calls correspondingly. (expand_setmem_epilogue_via_loop): Likewise. (emit_memset): New. (expand_setmem_epilogue): Add VEC_VALUE argument, refactor. (expand_set_or_movmem_prologue): New function combining expand_movmem_prologue and expand_setmem_prologue. (expand_movmem_prologue): Remove. (expand_setmem_prologue): Remove. (expand_set_or_movmem_constant_prologue): New function combining expand_constant_movmem_prologue and expand_constant_setmem_prologue. (expand_constant_movmem_prologue): Remove. (expand_constant_setmem_prologue): Remove. (promote_duplicated_reg): Allow vector-const0 value. (ix86_expand_set_or_movmem): New function combining ix86_expand_movmem and ix86_expand_setmem. (ix86_expand_movmem): Call ix86_expand_set_or_movmem. (ix86_expand_setmem): Call ix86_expand_set_or_movmem. testsuite/ * gcc.target/i386/memset-vector_loop-1.c: New test. * gcc.target/i386/memset-vector_loop-2.c: New test. From-SVN: r203886
Michael Zolotukhin committed -
From-SVN: r203884
GCC Administrator committed
-
- 20 Oct, 2013 7 commits
-
-
2013-10-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/altivec.md (vec_unpacku_hi_v16qi): Adjust for little endian. (vec_unpacku_hi_v8hi): Likewise. (vec_unpacku_lo_v16qi): Likewise. (vec_unpacku_lo_v8hi): Likewise. From-SVN: r203877
Bill Schmidt committed -
* config/i386/x86-tune.def (X86_TUNE_SLOW_IMUL_IMM32_MEM, X86_TUNE_SLOW_IMUL_IMM8): Keep enabled only for K8 and AMDFAM10. (X86_TUNE_USE_VECTOR_FP_CONVERTS): Disable for generic. From-SVN: r203876
Jan Hubicka committed -
2013-10-20 Tim Shen <timshen91@gmail.com> * include/bits/regex.h: Remove virtual class _Automaton. * include/bits/regex_automaton.h: Likewise. * include/bits/regex.tcc: Adjust comment for policy changing. * include/bits/regex_executor.h: Update comments of complexity. * include/bits/regex_executor.tcc: Adjust executor choosing policy. Now DFS executor is the default one. * testsuite/util/testsuite_regex.h (regex_match_debug, regex_search_debug): Adjust for policy changing. From-SVN: r203875
Tim Shen committed -
2013-10-20 Chris Jefferson <chris@bubblescope.net> Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/58800 * include/bits/stl_algo.h (__unguarded_partition_pivot): Change __last - 2 to __last - 1. * testsuite/25_algorithms/nth_element/58800.cc: New Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r203872
Chris Jefferson committed -
gcc/testsuite/ * gcc.target/mips/mips-ps-5.c: Add alignment attributes. * gcc.target/mips/mips-ps-7.c: Likewise. From-SVN: r203871
Richard Sandiford committed -
gcc/ * config/mips/mips.h (ISA_HAS_WSBH): Define. * config/mips/mips.md (UNSPEC_WSBH, UNSPEC_DSBH, UNSPEC_DSHD): New constants. (bswaphi2, bswapsi2, bswapdi2, wsbh, dsbh, dshd): New patterns. gcc/testsuite/ * gcc.target/mips/bswap-1.c, gcc.target/mips/bswap-2.c, gcc.target/mips/bswap-3.c, gcc.target/mips/bswap-4.c, gcc.target/mips/bswap-5.c, gcc.target/mips/bswap-6.c: New tests. From-SVN: r203870
Richard Sandiford committed -
From-SVN: r203869
GCC Administrator committed
-
- 19 Oct, 2013 16 commits
-
-
* c-c++-common/opaque-vector.c: Skip long double test on hppa. From-SVN: r203866
John David Anglin committed -
PR testsuite/58645 * gnat.dg/specs/linker_alias.ads: Skip on hppa*-*-hpux*. From-SVN: r203865
John David Anglin committed -
PR target/58603 * system.h: Undef m_slot. From-SVN: r203864
John David Anglin committed -
2013-10-19 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/rs6000.c (vspltis_constant): Make sure we check all elements for both endian flavors. From-SVN: r203863
Bill Schmidt committed -
* g++.dg/lto/lto.exp: Add support for C/C++ mix language testing. * gcc.dg/lto/pr54625-1_0.c: Move from here... * g++.dg/lto/pr54625-1_0.c: ... to here. * gcc.dg/lto/pr54625-1_1.C: Likewise. * g++.dg/lto/pr54625-1_1.C: Likewise. * gcc.dg/lto/pr54625-2_0.c: Likewise. * g++.dg/lto/pr54625-2_0.c: Likewise. * gcc.dg/lto/pr54625-2_1.C: Likewise. * g++.dg/lto/pr54625-2_1.C: Likewise. From-SVN: r203862
Mike Stump committed -
* gcc.target/sh/pr54089-3.c: Fix test for load of constant 31. From-SVN: r203859
Oleg Endo committed -
PR target/58792 * config/i386/i386.c (ix86_function_value_regno): Add DX_REG, ST1_REG and XMM1_REG for 32bit and 64bit targets. Also add DI_REG and SI_REG for 64bit SYSV ABI targets. From-SVN: r203857
Uros Bizjak committed -
* mode-switching.c (create_pre_exit): Rename maybe_builtin_apply to multi_reg_return. Clarify that we are skipping USEs of multiple return registers. Use bool type where appropriate. From-SVN: r203856
Uros Bizjak committed -
* config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Disable accumulation for cold functions. * x86-tune.def (X86_TUNE_USE_LEAVE): Update comment. (X86_TUNE_PUSH_MEMORY): Likewise. (X86_TUNE_AVX256_UNALIGNED_LOAD_OPTIMAL, X86_TUNE_AVX256_UNALIGNED_STORE_OPTIMAL): New. (X86_TUNE_ACCUMULATE_OUTGOING_ARGS, X86_TUNE_ALWAYS_FANCY_MATH_387): New. * i386.c (x86_accumulate_outgoing_args, x86_arch_always_fancy_math_387, x86_avx256_split_unaligned_load, x86_avx256_split_unaligned_store): Remove. (ix86_option_override_internal): Update to use tune features instead of variables. From-SVN: r203855
Jan Hubicka committed -
* gcc-interface/Makefile.in: Use canonical absolute path to refer to the top source directory and to the libgcc subidrectories. From-SVN: r203854
Thomas Quinot committed -
* gcc-interface/utils.c (scale_by_factor_of): New function. (rest_of_record_type_compilation): Use scale_by_factor_of in order to scale the original offset for both rounding cases; in the second case, take into accout the addend to compute the alignment. Tidy up. From-SVN: r203852
Eric Botcazou committed -
* gcc-interface/cuintp.c: Remove useless include directives. (build_cst_from_int): Use standard predicate. (UI_To_gnu): Simplify. (UI_From_gnu): Fix formatting. * gcc-interface/trans.c (post_error): Likewise. (post_error_ne): Likewise. From-SVN: r203851
Eric Botcazou committed -
* gcc-interface/utils.c (gnat_set_type_context): New function. (gnat_pushdecl): Use it to set the context of the type. From-SVN: r203848
Eric Botcazou committed -
re PR tree-optimization/58508 ([Missed-Optimization] Redundant vector load of "actual" loop invariant in loop body.) PR tree-optimization/58508 * tree-vect-loop-manip.c (vect_loop_versioning): Hoist loop invariant statement that contains data refs with zero-step. * gcc.dg/vect/pr58508.c: New test. From-SVN: r203842
Cong Hou committed -
2013-10-18 Edward Smith-Rowland <3dw4rd@verizon.net> PR libstdc++/58729 * include/tr2/dynamic_bitset (_M_resize, resize): Use input value to set bits; (_M_do_left_shift, _M_do_right_shift, _M_do_to_ulong, _M_do_to_ullong, _M_do_find_first, _M_do_find_next, _M_copy_from_ptr, operator>>): Move long methods outline to... * include/tr2/dynamic_bitset.tcc: New. * include/Makefile.am: Add dynamic_bitset.tcc. * include/Makefile.in: Add dynamic_bitset.tcc. * testsuite/tr2/dynamic_bitset/pr58729.cc: New. From-SVN: r203841
Edward Smith-Rowland committed -
From-SVN: r203839
GCC Administrator committed
-
- 18 Oct, 2013 6 commits
-
-
/cp 2013-10-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58466 * pt.c (most_specialized_class): Bump processing_template_decl for get_class_bindings. /testsuite 2013-10-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58466 * g++.dg/cpp0x/variadic145.C: New. From-SVN: r203836
Paolo Carlini committed -
* tree-ssa.h: Don't include gimple-low.h, tree-ssa-address.h, sbitmap.h, tree-ssa-threadedge.h, tree-ssa-dom.h, and tree-cfgcleanup.h. * gimple-low.c (gimple_check_call_arg, gimple_check_call_matching_types): Move to cgraph.c. * gimple-low.h: Remove prototype. * cgraph.c: (gimple_check_call_arg, gimple_check_call_matching_types): Relocate from gimple-low.c. * cgraph.h: Add prototype. Don't include basic-block.h. * gimplify.c: Add gimple-low to include list. * omp-low.c: Add gimple-low and tree-cfgcleanup.h to include list. * tree-eh.c: Add gimple-low to include list. * tree-nested.c: Likewise. * cfgexpand.c: Add tree-ssa-address.h to include list. * expr.c: Likewise. * gimple-fold.c: Likewise. * gimple-ssa-strength-reduction.c: Likewise. * trans-mem.c: Likewise. * tree-mudflap.c: Likewise. * tree-ssa-loop-ivopts.c: Likewise. * tree-ssa-dom.c: Include tree-ssa-threadedge.h and tree-ssa-dom.h. (degenerate_phi_result): Move to tree-phinodes.c. * tree-ssa-loop-ch.c: Include tree-ssa-threadedge.h. * tree-ssa-threadedge.c: Likewise. * tree-vrp.c: Likewise. * tree-phinodes.c (degenerate_phi_result): Relocate here. * tree-ssa-dom.h (degenerate_phi_result): Remove Prototype. * tree-phinodes.h (degenerate_phi_result): Add prototype. * tree-ssa-copy.c: Include tree-ssa-dom.h. * tree-ssa-forwprop.c: Likewise. * tree-cfgcleanup.c (execute_cleanup_cfg_post_optimizing, pass_data_cleanup_cfg_post_optimizing, make_pass_cleanup_cfg_post_optimizing): Relocate from tree-optimize.c. * tree-optimize.c: Delete File. * graphite.c: Include tree-cfgcleanup.h. * passes.c: Likewise. * tree-cfg.c: Likewise. * tree-profile.c: Likewise. * tree-ssa-dse.c: Likewise. * tree-ssa-loop-ivcanon.c: Likewise. * tree-switch-conversion.c: Don't include tree-ssa-operands.h. * tree-outof-ssa.c: Include sbitmap.h. * tree-ssa-live.c: Likewise. * tree-ssa-propagate.c: Likewise. * tree-ssa-structalias.c: Likewise. * tree-stdarg.c: Likewise. * Makefile.in (OBJS): Delete tree-optimize.o. * basic-block.h (gcov_type, gcov_type_unsigned): Move to coretypes.h. * coretypes.h (gcov_type, gcov_type_unsigned): Relocate here. * varasm.c: Include basic-block.h. * cfgloop.h: Include function.h instead of basic-block.h (bb_loop_depth): Move to cfgloop.c. * cfgloop.c (bb_loop_depth): Relocate from cfgloop.h. From-SVN: r203833
Andrew MacLeod committed -
2013-10-18 Teresa Johnson <tejohnson@google.com> * predict.c (probably_never_executed): Compare frequency-based count to number of training runs. * params.def (UNLIKELY_BB_COUNT_FRACTION): New parameter. From-SVN: r203830
Teresa Johnson committed -
[gcc/] 2013-10-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm.c (cortexa9_extra_costs): New table. (arm_cortex_a9_tune): Use cortexa9_extra_costs. From-SVN: r203828
Kyrylo Tkachov committed -
2013-10-18 Tim Shen <timshen91@gmail.com> * include/bits/regex_scanner.tcc: (_Scanner<>::_M_scan_normal, _Scanner<>::_M_eat_escape_ecma, _Scanner<>::_M_eat_escape_posix, _Scanner<>::_M_eat_escape_awk): Narrow character before finding in maps. * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/cjk_match.cc: New. From-SVN: r203827
Tim Shen committed -
* tree-ssa-threadupdate.c: Do not include "tm.h" or "tm_p.h". * tree-ssa-threadupdate.c: Include "dbgcnt.h". (register_jump_thread): Add "registered_jump_thread" debug counter support. * dbgcnt.def (registered_jump_thread): New debug counter. From-SVN: r203825
Jeff Law committed
-