1. 13 Oct, 2015 5 commits
    • Support DEFPARAMENUM in params.def · d78182cc
      2015-10-13  Tom de Vries  <tom@codesourcery.com>
      
      	* Makefile.in (PARAMS_H, PLUGIN_HEADERS): Add params-enum.h.
      	* params-enum.h: New file.
      	* opts.c (handle_param): Handle case that param arg is a string.
      	* params-list.h: Handle DEFPARAMENUM5 in params.def.
      	* params.c (find_param): New function, factored out of ...
      	(set_param_value): ... here.
      	(param_string_value_p): New function.
      	* params.h (struct param_info): Add value_names field.
      	(find_param, param_string_value_p): Declare.
      
      From-SVN: r228755
      Tom de Vries committed
    • Handle original loop tree in expand_omp_for_generic · 7fd103ef
      2015-10-13  Tom de Vries  <tom@codesourcery.com>
      
      	PR tree-optimization/67476
      	* omp-low.c (expand_omp_for_generic): Handle original loop tree.
      
      From-SVN: r228754
      Tom de Vries committed
    • tree-vect-data-refs.c (vect_analyze_data_ref_dependences): Allocate the data dependence vector. · b939ea86
      2015-10-13  Richard Biener  <rguenther@suse.de>
      
      	* tree-vect-data-refs.c (vect_analyze_data_ref_dependences): Allocate
      	the data dependence vector.
      	(vect_peeling_hash_insert): Get the peeling hash table as argument.
      	(vect_peeling_hash_get_lowest_cost): Likewise.
      	(vect_enhance_data_refs_alignment): Adjust.
      	(struct _vect_peel_info, struct _vect_peel_extended_info,
      	struct peel_info_hasher): Move from ...
      	* tree-vectorizer.h: ... here.
      	(LOOP_VINFO_COST_MODEL_MIN_ITERS): Remove.
      	(LOOP_VINFO_PEELING_HTAB): Likewise.
      	(struct _loop_vec_info): Remove min_profitable_iters and
      	peeling_htab members.
      	* tree-vect-loop.c (new_loop_vec_info): Do not allocate vectors
      	here.
      	(destroy_loop_vec_info): Adjust.
      	(vect_analyze_loop_2): Do not set LOOP_VINFO_COST_MODEL_MIN_ITERS.
      	(vect_estimate_min_profitable_iters): Use LOOP_VINFO_COMP_ALIAS_DDRS
      	to estimate alias versioning cost.
      	* tree-vect-slp.c (vect_analyze_slp_cost): Dump header.
      
      From-SVN: r228751
      Richard Biener committed
    • To... · 9b054b08
      To: gcc-patches@gcc.gnu.org
      Subject: Add an extra pow rule to match.pd
      From: Richard Sandiford <richard.sandiford@arm.com>
      Gcc: private.sent
      --text follows this line--
      Simplify pow(|x|,y) and pow(-x,y) to pow(x,y) if y is an even integer.
      At the moment this duplicates a case in fold_builtin_pow, but an
      upcoming patch will move all the fold_builtin_pow rules to match.pd.
      I'm doing this one early to fix a regression in builtin-10.c for
      soft-float ARM.
      
      gcc/
      	* real.h (real_isinteger): Declare.
      	* real.c (real_isinteger): New function.
      	* match.pd: Simplify pow(|x|,y) and pow(-x,y) to pow(x,y)
      	if y is an even integer.
      
      From-SVN: r228750
      Richard Sandiford committed
    • Daily bump. · 6696de8a
      From-SVN: r228743
      GCC Administrator committed
  2. 12 Oct, 2015 18 commits
  3. 11 Oct, 2015 11 commits
    • Test for __cxa_thread_atexit_impl when cross-compiling libstdc++ for GNU targets. · 3c97fe77
      I noticed that when testing glibc with a cross compiler I got
      
      UNSUPPORTED: nptl/tst-thread_local1
      
      because the libstdc++-v3 configuration for cross compiling defaulted
      to __cxa_thread_atexit_impl not being available.  This patch fixes
      GLIBCXX_CROSSCONFIG to run the same test (for the case covering
      targets with glibc) for __cxa_thread_atexit_impl as for native
      compilation, just as it runs most of the other tests done for native
      compilation (for these targets, it's not possible to build libstdc++
      without already having built libc, so link tests are OK).
      
      Tested with no regressions for cross to arm-none-linux-gnueabi.
      
      	* crossconfig.m4 (GLIBCXX_CROSSCONFIG) <*-linux* | *-uclinux* |
      	*-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*>: Check for
      	__cxa_thread_atexit_impl.
      	* configure: Regenerate.
      
      From-SVN: r228695
      Joseph Myers committed
    • alpha.h (ALPHA_ROUND): Implement using ROUND_UP macro. · d52c212f
      	* config/alpha/alpha.h (ALPHA_ROUND): Implement using ROUND_UP macro.
      
      From-SVN: r228693
      Uros Bizjak committed
    • bb-reorder: Improve the simple algorithm for -Os (PR67864) · c70f0ca2
      As the PR points out, the "simple" reorder algorithm makes bigger code
      than the STC algorithm did, for -Os, for x86.  I now tested it for many
      different targets and it turns out to be worse everywhere.
      
      This simple patch tunes "simple" a bit; this makes it better than STC
      almost everywhere.  The only exceptions (for the targets where I have
      results) are x86 and mn10300.  For those targets it may be best to switch
      the default algorithm for -Os to STC.
      
      
      2015-10-11  Segher Boessenkool  <segher@kernel.crashing.org>
      
      	PR rtl-optimization/67864
      	* gcc/bb-reorder (reorder_basic_blocks_simple): Prefer existing
      	fallthrough edges for conditional jumps.  Don't sort candidate
      	edges if not optimizing for speed.
      
      From-SVN: r228692
      Segher Boessenkool committed
    • Add bdver4 for multiversioning and fix AMD model detection. · fac812f0
      2015-10-09  Venkataramanan kumar <venkataramanan.kumar@amd.com>
      
              * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
              (__cpu_indicator_init): Fix model selection for AMD CPUs.
      
      From-SVN: r228691
      Venkataramanan Kumar committed
    • always define REVERSE_CONDITION · f7dfb654
      gcc/ChangeLog:
      
      2015-10-10  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* defaults.h (REVERSE_CONDITION): New default definition.
      	* jump.c (reversed_comparison_code_parts): Adjust.
      
      From-SVN: r228690
      Trevor Saunders committed
    • remove unneeded #if for HARD_FRAME_POINTER_IS_ARG_POINTER · 38b0b093
      gcc/ChangeLog:
      
      2015-10-10  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* builtins.c (expand_builtin_setjmp_receiver): Don't use #if to
      	check HARD_FRAME_POINTER_IS_ARG_POINTER.
      
      From-SVN: r228689
      Trevor Saunders committed
    • always define FRAME_ADDR_RTX · a9e0a998
      gcc/ChangeLog:
      
      2015-10-10  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* defaults.h (FRAME_ADDR_RTX): New default definition.
      	* builtins.c (expand_builtin_return_addr): Adjust.
      
      From-SVN: r228688
      Trevor Saunders committed
    • always define DYNAMIC_CHAIN_ADDRESS · f407dfe9
      gcc/ChangeLog:
      
      2015-10-10  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* defaults.h (DYNAMIC_CHAIN_ADDRESS): New default definition.
      	* builtins.c (expand_builtin_return_addr): Adjust.
      
      From-SVN: r228687
      Trevor Saunders committed
    • always define SETUP_FRAME_ADDRESSES · baf37960
      gcc/ChangeLog:
      
      2015-10-10  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* defaults.h (SETUP_FRAME_ADDRESSES): New default definition.
      	* builtins.c (expand_builtin_return_addr): Adjust.
      	* doc/tm.texi: Likewise.
      	* doc/tm.texi.in: Likewise.
      	* except.c (expand_builtin_unwind_init): Likewise.
      
      From-SVN: r228686
      Trevor Saunders committed
    • always define INITIAL_FRAME_ADDRESS_RTX · 579f2946
      gcc/ChangeLog:
      
      2015-10-10  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* builtins.c (expand_builtin_return_addr): Adjust.
      	* defaults.h (INITIAL_FRAME_ADDRESS_RTX): New default definition.
      
      From-SVN: r228685
      Trevor Saunders committed
    • Daily bump. · 9c02b29a
      From-SVN: r228684
      GCC Administrator committed
  4. 10 Oct, 2015 6 commits
    • tree.c (type_with_interoperable_signedness): New. · 6ba9c455
      
      	* tree.c (type_with_interoperable_signedness): New.
      	(gimple_canonical_types_compatible_p): Use it.
      	* tree.h (type_with_interoperable_signedness): Declare
      
      From-SVN: r228681
      Jan Hubicka committed
    • tree.c (type_with_interoperable_signedness): New. · 9c4eeafc
      
      	* tree.c (type_with_interoperable_signedness): New.
      	(gimple_canonical_types_compatible_p): Use it.
      	* tree.h (type_with_interoperable_signedness): Declare
      
      	* lto.c (hash_canonical_type): Honor
      	type_with_interoperable_signedness.
      
      	* gfortran.dg/lto/bind_c-2_0.f90: New testcase.
      	* gfortran.dg/lto/bind_c-2_1.c: New testcase.
      	* gfortran.dg/lto/bind_c-3_0.f90: New testcase.
      	* gfortran.dg/lto/bind_c-3_1.c: New testcase.
      	* gfortran.dg/lto/bind_c-4_0.f90: New testcase.
      	* gfortran.dg/lto/bind_c-4_1.c: New testcase.
      	* gfortran.dg/lto/bind_c-5_0.f90: New testcase.
      	* gfortran.dg/lto/bind_c-5_1.c: New testcase.
      
      From-SVN: r228680
      Jan Hubicka committed
    • fold-const.c (operand_equal_p): Document OEP_ADDRESS_OF and OEP_CONSTANT_ADDRESS_OF... · 05486daa
      	* fold-const.c (operand_equal_p): Document OEP_ADDRESS_OF
      	and OEP_CONSTANT_ADDRESS_OF; skip type compatibility checks
      	when OEP_ADDRESS_OF is se.
      
      From-SVN: r228679
      Jan Hubicka committed
    • add dump of data dependences · ea17c0fe
      2015-10-07  Aditya Kumar  <aditya.k7@samsung.com>
                      Sebastian Pop  <s.pop@samsung.com>
      
                      * graphite-dependences.c (scop_get_dependences): Add dump of the
                      data dependence graph.
                      * graphite-poly.c (print_isl_union_map): New.
                      (debug_isl_union_map): New.
                      * graphite-poly.h (print_isl_union_map): Declare.
                      (debug_isl_union_map): Declare.
      
      Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
      
      From-SVN: r228677
      Aditya Kumar committed
    • clean up debug functions · 5c24066b
      2015-10-07  Aditya Kumar  <aditya.k7@samsung.com>
                      Sebastian Pop  <s.pop@samsung.com>
      
              * graphite-poly.c (print_iteration_domain): Remove verbosity.
              Remove OpenScop formatting.
              (print_iteration_domains): Same.
              (debug_iteration_domain): Same.
              (debug_iteration_domains): Same.
              (print_pdr): Same.
              (debug_pdr): Same.
              (dump_gbb_cases): Same.
              (dump_gbb_conditions): Same.
              (print_pdrs): Same.
              (debug_pdrs): Same.
              (print_pbb_body): Same.
              (print_pbb): Same.
              (print_scop_params): Same.
              (print_scop_context): Same.
              (print_scop): Same.
              (debug_pbb_domain): Same.
              (debug_pbb): Same.
              (debug_scop_context): Same.
              (debug_scop): Same.
              (debug_scop_params): Same.
              * graphite-poly.h: Same.
              * graphite.c (graphite_transform_loops): Same.
      
      Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
      
      From-SVN: r228676
      Aditya Kumar committed
    • remove an unneeded as_a<rtx_insn *> () · 9a24a3cc
      gcc/ChangeLog:
      
      2015-10-10  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* function.c (stack_protect_epilogue): Remove as_a<rtx_insn *> ()
      	call that isn't needed.
      
      From-SVN: r228675
      Trevor Saunders committed