1. 12 Apr, 2016 5 commits
  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 11 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
    • Fix PR number in ChangeLog · cb2763b5
      From-SVN: r234830
      Bernd Schmidt committed
    • Fix memory allocation size overflows (PR69687, patch by Marcel Böhme) · bdf66f77
      	PR c++/69687
      	* cplus-dem.c: Include <limits.h> if available.
      	(INT_MAX): Define if necessary.
      	(remember_type, remember_Ktype, register_Btype, string_need):
      	Abort if we detect cases where we the size of the allocation would
      	overflow.
      
      From-SVN: r234829
      Marcel Böhme committed
    • Handle an overflow case (PR70498, patch by Marcel Böhme). · 59dad006
      	PR c++/70498
      	* cplus-dem.c (gnu_special): Handle case where consume_count returns
      	-1.
      
      From-SVN: r234828
      Marcel Böhme committed
    • re PR sanitizer/70541 (unnoticed invalid dereference when using address sanitizer) · c3da4956
      2016-04-08  Maxim Ostapenko  <m.ostapenko@samsung.com>
      
      	PR sanitizer/70541
      	* asan.c (instrument_derefs): If we get unknown location, extract it
      	with EXPR_LOCATION.
      	(maybe_instrument_call): Instrument gimple_call's arguments if needed.
      
      	* c-c++-common/asan/pr70541.c: New test.
      
      From-SVN: r234827
      Maxim Ostapenko committed
    • Remove incorrect warning for parallel implicit firstprivate clause · 9f1b833b
      2016-04-08  Tom de Vries  <tom@codesourcery.com>
      
      	* omp-low.c (lower_omp_target): Set TREE_NO_WARNING for oacc
      	implicit firstprivate clause.
      
      	* c-c++-common/goacc/uninit-firstprivate-clause.c: New test.
      	* gfortran.dg/goacc/uninit-firstprivate-clause.f95: New test.
      
      From-SVN: r234826
      Tom de Vries committed