1. 12 Apr, 2016 10 commits
    • MAINTAINERS (Write After Approval): Add myself. · 4f93efa4
      2016-04-12  Andre Vieira  <andre.simoesdiasvieira@arm.com>
      
      	* MAINTAINERS (Write After Approval): Add myself.
      
      From-SVN: r234903
      Andre Vieira committed
    • Revert r234572 (aka PR testsuite/70577) · 3e43b79c
      	Revert
      	2016-03-30  Jan Hubicka  <hubicka@ucw.cz>
      
      	* tree-ssa-loop-niter.c (idx_infer_loop_bounds): We can't get realistic
      	estimates here.
      	* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Use also
      	max_loop_iterations_int.
      	(tree_unswitch_outer_loop): Likewise.
      	* tree-ssa-loop-ivopts.c (avg_loop_niter): Likewise.
      	* tree-vect-loop.c (vect_analyze_loop_2): Likewise.
      
      From-SVN: r234902
      Martin Liska committed
    • libgomp external ABI prototypes maintenance · 58d32aeb
      	libgomp/
      	* libgomp_g.h: Rename GOACC_parallel_keyd prototype to
      	GOACC_parallel_keyed, restore GOACC_parallel prototype, new
      	GOACC_declare prototype.
      
      From-SVN: r234901
      Thomas Schwinge committed
    • Executable test case for asm flags, by David Wohlferd. · 3df530d3
      	* gcc.target/i386/asm-flag-6.c: New test.
      
      From-SVN: r234900
      David Wohlferd committed
    • Merge libgomp.oacc-c-c++-common/loop-reduction-*.c into libgomp.oacc-c-c++-common/reduction-7.c · d97633ef
      	libgomp/
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gang-np-1.c:
      	Merge this file, and...
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gv-np-1.c:
      	... this file, and...
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gw-np-1.c:
      	... this file, and...
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-1.c:
      	... this file, and...
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-2.c:
      	... this file, and...
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-3.c:
      	... this file, and...
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-4.c:
      	... this file, and...
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-1.c:
      	... this file, and...
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-2.c:
      	... this file, and...
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-worker-p-1.c:
      	... this file, and...
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-1.c:
      	... this file, and...
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-2.c:
      	... this file, and...
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-3.c:
      	... this file into...
      	* testsuite/libgomp.oacc-c-c++-common/reduction-7.c: ... this
      	file.
      
      From-SVN: r234899
      Thomas Schwinge committed
    • Improve libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.c · 27f9add3
      	libgomp/
      	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.c:
      	Make failure observable.
      
      From-SVN: r234897
      Thomas Schwinge committed
    • Fix typo in copy_cond_phi_args · b7a120d7
      2016-04-12  Tom de Vries  <tom@codesourcery.com>
      
      	PR tree-optimization/68756
      	* graphite-isl-ast-to-gimple.c (copy_cond_phi_args): Use new_expr
      	instead of new_name.
      
      	* gcc.dg/graphite/pr68756.c: New test.
      
      From-SVN: r234896
      Tom de Vries committed
    • re PR tree-optimization/70602 (wrong code at -O1 and above on x86_64-linux-gnu… · 4e0eea75
      re PR tree-optimization/70602 (wrong code at -O1 and above on x86_64-linux-gnu in 32-bit mode (and at -Os only in 64-bit mode))
      
      	PR tree-optimization/70602
      	* tree-sra.c (generate_subtree_copies): Don't write anything into
      	constant pool decls.
      
      	* gcc.c-torture/execute/pr70602.c: New test.
      
      From-SVN: r234895
      Jakub Jelinek committed
    • omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT regardless whether… · 21f3a236
      omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT regardless whether there are depend clauses or not.
      
      	* omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT
      	regardless whether there are depend clauses or not.
      
      	* libgomp.h (struct gomp_target_task): Remove firstprivate_copies
      	field.
      	* target.c (gomp_target_fallback_firstprivate,
      	gomp_target_unshare_firstprivate): Removed.
      	(GOMP_target_ext): Copy firstprivate vars into gomp_allocaed memory
      	before waiting for dependencies.
      	(gomp_target_task_fn): Don't copy firstprivate vars here.
      	* task.c (GOMP_PLUGIN_target_task_completion): Don't free
      	firstprivate_copies here.
      	(gomp_create_target_task): Don't initialize firstprivate_copies field.
      	* testsuite/libgomp.c/target-25.c (main): Use map (to:) instead of
      	explicit/implicit firstprivate.
      
      From-SVN: r234894
      Jakub Jelinek committed
    • Daily bump. · a3f90b8c
      From-SVN: r234892
      GCC Administrator committed
  2. 11 Apr, 2016 7 commits
    • re PR target/70381 (On powerpc, -mfloat128 is on by default for all VSX systems) · 35fbda43
      [gcc]
      2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/70381
      	* config/rs6000/rs6000.c (rs6000_opt_masks): Disable using the
      	target attribute and pragma from changing the -mfloat128
      	and -mfloat128-hardware options.
      
      	* doc/extend.texi (Additional Floating Types): Document PowerPC
      	__float128 restrictions.
      
      [libgcc]
      2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/70381
      	* configure.ac (powerpc*-*-linux*): Rework tests to build
      	__float128 emulation routines to not depend on using #pragma GCC
      	target to enable -mfloat128.
      	* configure: Regnerate.
      
      [gcc/testsuite]
      2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/70381
      	* gcc.target/powerpc/float128-1.c: New tests to make sure the
      	__float128 emulator is built and runs.
      	* gcc.target/powerpc/float128-1.c: Likewise.
      
      	* lib/target-supports.exp (check_ppc_float128_sw_available):
      	Rework tests for __float128 software and hardware
      	availability. Fix exit condition to return 0 on success.
      
      From-SVN: r234884
      Michael Meissner committed
    • mangle.c (decl_is_template_id): The template itself counts as a template-id. · a9c2f3d9
      	* mangle.c (decl_is_template_id): The template itself counts as a
      	template-id.
      
      From-SVN: r234879
      Jason Merrill committed
    • [Patch AArch64 3/3] Fix up for pr70133 · 8433cb91
      gcc/
      
      	PR target/70133
      	* config/aarch64/driver-aarch64.c
      	(aarch64_get_extension_string_for_isa_flags): New.
      	(arch_extension): Rename to...
      	(aarch64_arch_extension): ...This.
      	(ext_to_feat_string): Rename to...
      	(aarch64_extensions): ...This.
      	(aarch64_core_data): Keep track of architecture extension flags.
      	(cpu_data): Rename to...
      	(aarch64_cpu_data): ...This.
      	(aarch64_arch_driver_info): Keep track of architecture extension
      	flags.
      	(get_arch_name_from_id): Rename to...
      	(get_arch_from_id): ...This, change return type.
      	(host_detect_local_cpu): Update and reformat for renames, handle
      	extensions through common infrastructure.
      
      From-SVN: r234877
      James Greenhalgh committed
    • [Patch AArch64 2/3] Rework the code to print extension strings (pr70133) · 04a99ebe
      gcc/
      
      	PR target/70133
      	* config/aarch64/aarch64-common.c (aarch64_option_extension): Keep
      	track of a canonical flag name.
      	(all_extensions): Likewise.
      	(arch_to_arch_name): Also track extension flags enabled by the arch.
      	(all_architectures): Likewise.
      	(aarch64_parse_extension): Move to here.
      	(aarch64_get_extension_string_for_isa_flags): Take a new argument,
      	rework.
      	(aarch64_rewrite_selected_cpu): Update for above change.
      	* config/aarch64/aarch64-option-extensions.def: Rework the way flags
      	are handled, such that the single explicit value enabled by an
      	extension is kept seperate from the implicit values it also enables.
      	* config/aarch64/aarch64-protos.h (aarch64_parse_opt_result): Move
      	to here.
      	(aarch64_parse_extension): New.
      	* config/aarch64/aarch64.c (aarch64_parse_opt_result): Move from
      	here to config/aarch64/aarch64-protos.h.
      	(aarch64_parse_extension): Move from here to
      	common/config/aarch64/aarch64-common.c.
      	(aarch64_option_print): Update.
      	(aarch64_declare_function_name): Likewise.
      	(aarch64_start_file): Likewise.
      	* config/aarch64/driver-aarch64.c (arch_extension): Keep track of
      	the canonical flag for extensions.
      	* config.gcc (aarch64*-*-*): Extend regex for capturing extension
      	flags.
      
      gcc/testsuite/
      
      	PR target/70133
      	* gcc.target/aarch64/mgeneral-regs_4.c: Fix expected output.
      	* gcc.target/aarch64/target_attr_15.c: Likewise.
      
      From-SVN: r234876
      James Greenhalgh committed
    • [Patch AArch64 1/3] Enable CRC by default for armv8.1-a · a60fd657
      gcc/
      
      	* config/aarch64/aarch64.h (AARCH64_FL_FOR_ARCH8_1): Also add
      	AARCH64_FL_CRC.
      
      From-SVN: r234875
      James Greenhalgh committed
    • libcc1: Clean compiler-name.h (PR70173) · fa246aa3
      Since the file is generated from a Makefile fragment, it needs to be
      added to MOSTLYCLEANFILES.  The directory itself is still not deleted
      (just like the gnattools and gotools directories).
      
      
      2016-04-11  Segher Boessenkool  <segher@kernel.crashing.org>
      
      libcc1/
      	PR bootstrap/70173
      	* Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
      	(compiler-name.h): Shorten recipe so that it fits the line.
      	* Makefile.in: Regenerate.
      
      From-SVN: r234874
      Segher Boessenkool committed
    • Daily bump. · 890e48b4
      From-SVN: r234872
      GCC Administrator committed
  3. 10 Apr, 2016 3 commits
  4. 09 Apr, 2016 14 commits
  5. 08 Apr, 2016 6 commits
    • re PR lto/70289 ([openacc] ICE in input_varpool_node) · c42cfb5c
      	gcc/
      	PR lto/70289
      	PR ipa/70348
      	PR tree-optimization/70373
      	PR middle-end/70533
      	PR middle-end/70534
      	PR middle-end/70535
      	* gimplify.c (gimplify_adjust_omp_clauses): Add or adjust data
      	clauses for acc parallel reductions as necessary.  Error on those
      	that are private.
      	* omp-low.c (scan_sharing_clauses): Don't install variables which
      	are used in acc parallel reductions.
      	(lower_rec_input_clauses): Remove dead code.
      	(lower_oacc_reductions): Add support for reference reductions.
      	(lower_reduction_clauses): Remove dead code.
      	(lower_omp_target): Don't remap variables appearing in acc parallel
      	reductions.
      	* tree.h (OMP_CLAUSE_MAP_IN_REDUCTION): New macro.
      
      	gcc/testsuite/
      	* c-c++-common/goacc/reduction-5.c: New test.
      	* c-c++-common/goacc/reduction-promotions.c: New test.
      	* gfortran.dg/goacc/reduction-3.f95: New test.
      	* gfortran.dg/goacc/reduction-promotions.f90: New test.
      
      	libgomp/
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gang-np-1.c: New
      	test.
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gw-np-1.c: New
      	test.
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-1.c: New
      	test.
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-2.c: New
      	test.
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-3.c: New
      	test.
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-4.c: New
      	test.
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-1.c: New
      	test.
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-2.c: New
      	test.
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-worker-p-1.c: New
      	test.
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-1.c: New test.
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-2.c: New test.
      	* testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-3.c: New test.
      	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-1.c: New
      	test.
      	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.c: New
      	test.
      	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-3.c: New
      	test.
      	* testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-4.c: New
      	test.
      	* testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c: Add test
      	coverage.
      	* testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c: New test.
      	* testsuite/libgomp.oacc-c-c++-common/pr70289.c: New test.
      	* testsuite/libgomp.oacc-c-c++-common/pr70373.c: New test.
      	* testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Add test
      	coverage.
      	* testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/reduction-3.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/reduction-6.c: New test.
      	* testsuite/libgomp.oacc-c-c++-common/reduction.h: New test.
      	* testsuite/libgomp.oacc-fortran/parallel-reduction.f90: New test.
      	* testsuite/libgomp.oacc-fortran/pr70289.f90: New test.
      	* testsuite/libgomp.oacc-fortran/reduction-1.f90: Add test coverage.
      	* testsuite/libgomp.oacc-fortran/reduction-2.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/reduction-3.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/reduction-4.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/reduction-5.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/reduction-7.f90: New test.
      
      From-SVN: r234840
      Cesar Philippidis committed
    • Regenerate .pot files. · 51a4b0f1
      gcc/po:
      	* gcc.pot: Regenerate.
      
      libcpp/po:
      	* cpplib.pot: Regenerate.
      
      From-SVN: r234839
      Joseph Myers committed
    • Fix PR c++/70590 (error: location references block not in block tree) · 56cfb596
      gcc/cp/ChangeLog:
      
      	PR c++/70590
      	PR c++/70452
      	* constexpr.c (cxx_eval_outermost_expression): Call unshare_expr
      	on the result if it's not a CONSTRUCTOR.
      
      gcc/testsuite/ChangeLog:
      
      	PR c++/70590
      	PR c++/70452
      	* g++.dg/pr70590.C: New test.
      	* g++.dg/pr70590-2.C: New test.
      
      From-SVN: r234837
      Patrick Palka committed
    • re PR middle-end/70593 (Miscompilation of xen starting with r226901) · abc0647a
      	PR middle-end/70593
      	* tree-ssa-coalesce.c (build_ssa_conflict_graph): For stmt
      	with multiple SSA_NAME defs, force the outputs other than first
      	to be live before calling live_track_process_def on each output.
      
      	* gcc.target/i386/pr70593.c: New test.
      
      From-SVN: r234834
      Jakub Jelinek committed
    • re PR target/70574 (wrong code with -mavx2, read of partially initialised stack variable) · 1a13c0a2
      	PR rtl-optimization/70574
      	* fwprop.c (forward_propagate_and_simplify): Don't add
      	REG_EQUAL note if DF_REF_REG (use) is a paradoxical subreg.
      	(try_fwprop_subst): Don't add REG_EQUAL note if there are any
      	paradoxical subregs within *loc.
      
      	* gcc.target/i386/avx2-pr70574.c: New test.
      
      From-SVN: r234833
      Jakub Jelinek committed
    • Complete changes to "Ignore -ftree-parallelize-loops={0,1} using gt" · 9dbe3d77
      Apply the r225764 and r233573 changes to all relevant spec strings.
      
      	gcc/
      	* config/arc/arc.h (LINK_COMMAND_SPEC): Use gt to ignore
      	-ftree-parallelize-loops={0,1}.
      	* config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
      	* config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
      	* config/ia64/hpux.h (LIB_SPEC): Likewise.
      	* config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
      	* config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
      
      From-SVN: r234831
      Thomas Schwinge committed