1. 02 Feb, 2017 16 commits
    • Update libstdc++ baseline symbols for x32 · b47507fe
      	* config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Updated.
      
      From-SVN: r245134
      H.J. Lu committed
    • re PR middle-end/78142 (Commit r241590 is more registers to be used for on… · 1c372840
      re PR middle-end/78142 (Commit r241590 is more registers to be used for on gcc.target/aarch64/vector_initialization_nostack.c)
      
      	PR middle-end/78142
      	* gcc.target/aarch64/vector_initialization_nostack.c
      	(f12): Use one vector
      
      From-SVN: r245132
      Tamar Christina committed
    • Separate Solaris/SPARC and x86 baselines · a76745e6
      	* configure.host: Separate Solaris/SPARC and x86 baselines.
      	* config/abi/post/solaris2.10/baseline_symbols.txt: Move ...
      	* config/abi/post/sparc-solaris2.10/baseline_symbols.txt: ... here.
      	* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Move ...
      	* config/abi/post/sparc-solaris2.10/sparcv9/baseline_symbols.txt:
      	... here.
      	* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Move ...
      	* config/abi/post/i386-solaris2.10/amd64/baseline_symbols.txt: ... here.
      	* config/abi/post/i386-solaris2.10/baseline_symbols.txt: New file.
      	* config/abi/post/solaris2.11/baseline_symbols.txt: Move ...
      	* config/abi/post/sparc-solaris2.11/baseline_symbols.txt: ... here.
      	* config/abi/post/solaris2.11/sparcv9/baseline_symbols.txt: Move ...
      	* config/abi/post/sparc-solaris2.11/sparcv9/baseline_symbols.txt:
      	... here.
      	* config/abi/post/solaris2.11/amd64/baseline_symbols.txt: Move ...
      	* config/abi/post/i386-solaris2.11/amd64/baseline_symbols.txt: ... here.
      	* config/abi/post/i386-solaris2.11/baseline_symbols.txt: New file.
      
      From-SVN: r245131
      Rainer Orth committed
    • Update Solaris baselines · f0272b99
      	* config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
      	* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
      	* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
      	* config/abi/post/solaris2.11/baseline_symbols.txt: Likewise.
      	* config/abi/post/solaris2.11/amd64/baseline_symbols.txt: Likewise.
      	* config/abi/post/solaris2.11/sparcv9/baseline_symbols.txt: Likewise.
      
      From-SVN: r245130
      Rainer Orth committed
    • libgomp, nvptx plugin: Make "nvptx_exec" static · e70ab10d
      	libgomp/
      	* plugin/plugin-nvptx.c (nvptx_exec): Make it static.
      
      From-SVN: r245127
      Thomas Schwinge committed
    • libgomp: Normalize the names of a few functions of the libgomp plugin API · 345a8c17
      	libgomp/
      	* libgomp-plugin.h (GOMP_OFFLOAD_openacc_parallel): Rename to
      	GOMP_OFFLOAD_openacc_exec.  Adjust all users.
      	(GOMP_OFFLOAD_openacc_get_current_cuda_device): Rename to
      	GOMP_OFFLOAD_openacc_cuda_get_current_device.  Adjust all users.
      	(GOMP_OFFLOAD_openacc_get_current_cuda_context): Rename to
      	GOMP_OFFLOAD_openacc_cuda_get_current_context.  Adjust all users.
      	(GOMP_OFFLOAD_openacc_get_cuda_stream): Rename to
      	GOMP_OFFLOAD_openacc_cuda_get_stream.  Adjust all users.
      	(GOMP_OFFLOAD_openacc_set_cuda_stream): Rename to
      	GOMP_OFFLOAD_openacc_cuda_set_stream.  Adjust all users.
      
      From-SVN: r245125
      Thomas Schwinge committed
    • re PR middle-end/78468 (libgomp.c/reduction-10.c and many more FAIL) · da75ca93
      	PR middle-end/78468
      	* emit-rtl.c (init_emit): Add ??? comment for problematic alignment
      	settings of the virtual registers.
      
      	Revert again
      	2016-08-23  Dominik Vogt  <vogt@linux.vnet.ibm.com>
      
      	* explow.c (get_dynamic_stack_size): Take known alignment of stack
      	pointer + STACK_DYNAMIC_OFFSET into account when calculating the size
      	needed.
      
      From-SVN: r245124
      Eric Botcazou committed
    • S/390: Remove unused expanders from vx-builtins.md · aa2cbb1a
      These expanders are currently not used.  The vecintrin.h header file
      expands e.g. vec_ceil directly to the vfidb low-level builtin.
      
      gcc/ChangeLog:
      
      2017-02-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
      
      	* config/s390/vx-builtins.md ("vec_ceil", "vec_floor")
      	("vec_trunc", "vec_roundc", "vec_round"): Remove expanders.
      
      From-SVN: r245123
      Andreas Krebbel committed
    • S/390: Add missing comments listing mnemonics. · 50dc4eed
      These were useful in the past but are currently lacking on a couple of
      patterns.  Fixed with this patch.
      
      gcc/ChangeLog:
      
      2017-02-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
      
      	* config/s390/s390.md: Add missing comments with the expanded
      	mnemonics.
      	* config/s390/vector.md: Likewise.
      	* config/s390/vx-builtins.md: Likewise.
      
      From-SVN: r245122
      Andreas Krebbel committed
    • pr63316.c: Use dg-skip-if instead of dg-options. · bef7e561
      	* c-c++-common/asan/pr63316.c: Use dg-skip-if instead of dg-options.
      	* c-c++-common/asan/misalign-1.c: Likewise.
      	* c-c++-common/asan/misalign-2.c: Likewise.
      	* g++.dg/asan/pr69276.C: Add dg-skip-if, remove dg-additional-options.
      	* gcc.dg/asan/pr66314.c: Remove -Os from dg-options, add dg-skip-if.
      	* gcc.dg/asan/use-after-scope-3.c: Use dg-skip-if instead of dg-options.
      	* gcc.dg/asan/use-after-scope-9.c: Add dg-skip-if, remove -O2 and
      	add -ffat-lto-objects from/to dg-additional-options.
      	* gcc.dg/asan/use-after-scope-10.c: Add dg-skip-if, remove -O2 from
      	dg-additional-options.
      
      From-SVN: r245121
      Jakub Jelinek committed
    • re PR target/79197 (ICE in extract_insn in gcc/recog.c:2311) · 9f11a4a7
      	PR target/79197
      	* config/rs6000/rs6000.md (*fixuns_trunc<mode>di2_fctiduz): Rename to ...
      	(fixuns_trunc<mode>di2): ... this, remove previous expander.  Put all
      	conditions on a single line.
      
      	* gcc.target/powerpc/pr79197.c: New test.
      	* gcc.c-torture/compile/pr79197.c: New test.
      
      From-SVN: r245120
      Jakub Jelinek committed
    • pr71078-3.c: Do not rely on math.h. · 09661674
      2017-02-02  Richard Biener  <rguenther@suse.de>
      
      	* gcc.dg/tree-ssa/pr71078-3.c: Do not rely on math.h.
      
      From-SVN: r245119
      Richard Biener committed
    • re PR c++/14179 (out of memory while parsing array with many initializers) · 27de0fab
      2017-02-02  Richard Biener  <rguenther@suse.de>
      
      	PR cp/14179
      	* cp-gimplify.c (cp_fold): When folding a CONSTRUCTOR copy
      	it lazily on the first changed element only and copy it
      	fully upfront, only storing changed elements.
      
      From-SVN: r245118
      Richard Biener committed
    • re PR c++/69637 (ICE on an invalid bit-field with template name for width) · d8d58893
      /cp
      2017-02-02  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/69637
      	* decl2.c (grokbitfield): In case of error don't set-up DECL_INITIAL
      	to the width.
      
      /testsuite
      2017-02-02  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/69637
      	* g++.dg/cpp0x/pr69637-1.C: New.
      	* g++.dg/cpp0x/pr69637-2.C: Likewise.
      
      From-SVN: r245117
      Paolo Carlini committed
    • S/390: Rename __S390_VX__ to __VX__. · 521a70a4
      gcc/ChangeLog:
      
      2017-02-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
      
      	* config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Rename
      	__S390_VX__ to __VX__.
      
      gcc/testsuite/ChangeLog:
      
      2017-02-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
      
      	* gcc.target/s390/s390.exp: Rename __S390_VX__ to __VX__.
      
      From-SVN: r245116
      Andreas Krebbel committed
    • Daily bump. · 6cd3a212
      From-SVN: r245114
      GCC Administrator committed
  2. 01 Feb, 2017 17 commits
    • * de.po: Update. · da98cbc4
      From-SVN: r245111
      Joseph Myers committed
    • re PR target/70012 (test case gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c fails) · e26b502d
      2017-02-01  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	PR target/70012
      	* gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c: Adjust test
      	conditions.
      
      From-SVN: r245108
      Bill Schmidt committed
    • re PR ada/79309 (incorrectly bounded calls to strncat in adaint.c) · 60ab8595
      	PR ada/79309
      	* adaint.c (__gnat_killprocesstree): Use strlen instead of sizeof.
      
      From-SVN: r245107
      Eric Botcazou committed
    • re PR ada/79309 (incorrectly bounded calls to strncat in adaint.c) · 372db67b
      	PR ada/79309
      	* adaint.c (__gnat_killprocesstree): Fix broken string handling.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r245103
      Eric Botcazou committed
    • tree-vect-loop.c (vect_compute_single_scalar_iteration_cost): Pass stmt_info to record_stmt_cost. · cd8ae5ed
      2017-02-01  Andrew Pinski  <apinski@cavium.com>
      
              * tree-vect-loop.c (vect_compute_single_scalar_iteration_cost): Pass
              stmt_info to record_stmt_cost.
              (vect_get_known_peeling_cost): Pass stmt_info if known to
              record_stmt_cost.
              * config/aarch64/aarch64-protos.h (cpu_vector_cost): Split
              cpu_vector_cost field into
              scalar_int_stmt_cost and scalar_fp_stmt_cost.  Split vec_stmt_cost
              field into vec_int_stmt_cost and vec_fp_stmt_cost.
              * config/aarch64/aarch64.c (generic_vector_cost): Update for the
              splitting of scalar_stmt_cost and vec_stmt_cost.
              (thunderx_vector_cost): Likewise.
              (cortexa57_vector_cost): LIkewise.
              (exynosm1_vector_cost): Likewise.
              (xgene1_vector_cost): Likewise.
              (thunderx2t99_vector_cost): Improve after the splitting of the two
              fields.
              (aarch64_builtin_vectorization_cost): Update for the splitting of
              scalar_stmt_cost and vec_stmt_cost.
      
      From-SVN: r245101
      Andrew Pinski committed
    • Fix __atomic to not implement atomic loads with CAS. · 969a32ce
      gcc/
      	* builtins.c (fold_builtin_atomic_always_lock_free): Make "lock-free"
      	conditional on existance of a fast atomic load.
      	* optabs-query.c (can_atomic_load_p): New function.
      	* optabs-query.h (can_atomic_load_p): Declare it.
      	* optabs.c (expand_atomic_exchange): Always delegate to libatomic if
      	no fast atomic load is available for the particular size of access.
      	(expand_atomic_compare_and_swap): Likewise.
      	(expand_atomic_load): Likewise.
      	(expand_atomic_store): Likewise.
      	(expand_atomic_fetch_op): Likewise.
      	* testsuite/lib/target-supports.exp
      	(check_effective_target_sync_int_128): Remove x86 because it provides
      	no fast atomic load.
      	(check_effective_target_sync_int_128_runtime): Likewise.
      
      libatomic/
      	* acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
      	* auto-config.h.in: Regenerate.
      	* config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
      	(atomic_compare_exchange_n): New.
      	* glfree.c (EXACT, LARGER): Change condition and add comments.
      
      From-SVN: r245098
      Torvald Riegel committed
    • re PR testsuite/79324 (The tests introduced at revision r245052 fail on darwin) · 55e75c7c
      	PR testsuite/79324
      	* gcc.dg/debug/dwarf2/align-1.c: Add -gno-strict-dwarf to dg-options.
      	* gcc.dg/debug/dwarf2/align-2.c: Likewise.
      	* gcc.dg/debug/dwarf2/align-3.c: Likewise.
      	* gcc.dg/debug/dwarf2/align-4.c: Likewise.
      	* gcc.dg/debug/dwarf2/align-5.c: Likewise.
      	* gcc.dg/debug/dwarf2/align-6.c: Likewise.
      	* gcc.dg/debug/dwarf2/align-as-1.c: Likewise.
      	* g++.dg/debug/dwarf2/align-1.C: Likewise.
      	* g++.dg/debug/dwarf2/align-2.C: Likewise.
      	* g++.dg/debug/dwarf2/align-3.C: Likewise.
      	* g++.dg/debug/dwarf2/align-4.C: Likewise.
      	* g++.dg/debug/dwarf2/align-5.C: Likewise.
      	* g++.dg/debug/dwarf2/align-6.C: Likewise.
      
      From-SVN: r245097
      Jakub Jelinek committed
    • graphite.c: Include tree-vectorizer.h for find_loop_location. · 558b3185
      2017-02-01  Richard Biener  <rguenther@suse.de>
      
      	* graphite.c: Include tree-vectorizer.h for find_loop_location.
      	(graphite_transform_loops): Provide opt-info for optimized nests.
      	* tree-parloop.c (parallelize_loops): Provide opt-info for
      	parallelized loops.
      
      From-SVN: r245096
      Richard Biener committed
    • Add dg-require-alias to a ICF test (PR testsuite/79272). · a4476973
      2017-02-01  Martin Liska  <mliska@suse.cz>
      
      	PR testsuite/79272
      	* gcc.dg/ipa/pr77653.c: Add dg-require-alias to the test.
      
      From-SVN: r245095
      Martin Liska committed
    • re PR tree-optimization/76957 (XFAIL: gcc.dg/graphite/scop-dsyr2k.c… · 3f3181b1
      re PR tree-optimization/76957 (XFAIL: gcc.dg/graphite/scop-dsyr2k.c scan-tree-dump-times graphite "number of SCoPs)
      
      2017-02-01  Richard Biener  <rguenther@suse.de>
      
      	PR testsuite/76957
      	* gcc.dg/graphite/scop-dsyr2k-2.c: New testcase.
      	* gcc.dg/graphite/scop-dsyrk-2.c: Likewise.
      	* gcc.dg/graphite/scop-dsyr2k.c: XFAIL.
      	* gcc.dg/graphite/scop-dsyrk.c: Likewise.
      
      From-SVN: r245094
      Richard Biener committed
    • PR78346 make <bits/predefined_ops.h> handle stashing iterators · 2cf9276b
      	PR libstdc++/78346
      	* include/bits/predefined_ops.h (_Iter_equals_iter): Store iterator
      	not its referent.
      	(_Iter_comp_to_iter): Likewise.
      	* testsuite/25_algorithms/search/78346.cc: New test.
      
      From-SVN: r245090
      Jonathan Wakely committed
    • re PR tree-optimization/79315 (ICE while building SPEC CPU 2006 FP with -Ofast… · 1e7ef862
      re PR tree-optimization/79315 (ICE while building SPEC CPU 2006 FP with -Ofast -ftree-parallelize-loops)
      
      2017-02-01  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/79315
      	* tree-cfg.c (move_stmt_op): Never set TREE_BLOCK when it
      	was not set before.
      
      	* gfortran.dg/pr79315.f90: New testcase.
      
      From-SVN: r245089
      Richard Biener committed
    • PR libstdc++/79254 simplify exception-safety in copy assignment · 11d10beb
      	PR libstdc++/79254
      	* config/abi/pre/gnu.ver: Remove recently added symbols.
      	* include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI]
      	(basic_string::_M_copy_assign): Remove.
      	(basic_string::operator=(const basic_string&)): Don't dispatch to
      	_M_copy_assign. If source object is small just deallocate, otherwise
      	perform new allocation before making any changes.
      	* include/bits/basic_string.tcc [_GLIBCXX_USE_CXX11_ABI]
      	(basic_string::_M_copy_assign(const basic_string&, true_type)):
      	Remove.
      	* testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
      	Test cases where the allocators are equal or the string is small.
      	* testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
      	Likewise.
      
      From-SVN: r245085
      Jonathan Wakely committed
    • re PR other/79250 (brig/brigfrontend/brig-to-generic.cc: two small problems) · a0deb992
      * brigfrontend/brig-code-entry-handler.cc: fix address
      expressions which refer only to offset 0, but nothing else.
      * brigfrontend/brig-lane-inst-handler.cc: fix
      activelanepermute_b64 HSAIL instruction.
      * brigfrontend/brig-to-generic.cc: remove useless c_str()
      call. Add missing va_end (). Fix PR79250
      
      From-SVN: r245084
      Pekka Jääskeläinen committed
    • re PR tree-optimization/71824 (ICE when compiling libiberty with Graphite loop optimizations) · 405a7406
      2017-02-01  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/71824
      	* graphite-scop-detection.c (scop_detection::build_scop_breadth):
      	Verify the loops are valid in the merged SESE region.
      	(scop_detection::can_represent_loop_1): Check analyzing the
      	evolution of the number of iterations in the region succeeds.
      
      	* gcc.dg/graphite/pr71824.c: New testcase.
      
      From-SVN: r245081
      Richard Biener committed
    • configure.tgt: Fix i?86-*-linux* entry. · 315405b6
      	* configure.tgt: Fix i?86-*-linux* entry.
      	* rt/sat_arithmetic.c (__hsail_sat_add_u32, __hsail_sat_add_u64,
      	__hsail_sat_add_s32, __hsail_sat_add_s64): Use __builtin_add_overflow.
      	(__hsail_sat_sub_u8, __hsail_sat_sub_u16): Remove pointless for overflow
      	over maximum.
      	(__hsail_sat_sub_u32, __hsail_sat_sub_u64, __hsail_sat_sub_s32,
      	__hsail_sat_sub_s64): Use __builtin_sub_overflow.
      	(__hsail_sat_mul_u32, __hsail_sat_mul_u64, __hsail_sat_mul_s32,
      	__hsail_sat_mul_s64): Use __builtin_mul_overflow.
      	* rt/arithmetic.c (__hsail_borrow_u32, __hsail_borrow_u64): Use
      	__builtin_sub_overflow_p.
      	(__hsail_carry_u32, __hsail_carry_u64): Use __builtin_add_overflow_p.
      	* rt/misc.c (__hsail_groupbaseptr, __hsail_kernargbaseptr_u64):
      	Cast pointers to uintptr_t first before casting to some other integral
      	type.
      	* rt/segment.c (__hsail_segmentp_private, __hsail_segmentp_group): Likewise.
      	* rt/queue.c (__hsail_ldqueuereadindex, __hsail_ldqueuewriteindex,
      	__hsail_addqueuewriteindex, __hsail_casqueuewriteindex,
      	__hsail_stqueuereadindex, __hsail_stqueuewriteindex): Cast integral value
      	to uintptr_t first before casting to pointer.
      	* rt/workitems.c (__hsail_alloca_pop_frame): Cast memcpy first argument to
      	void * to avoid warning.
      
      From-SVN: r245080
      Jakub Jelinek committed
    • Daily bump. · 6b3430bd
      From-SVN: r245079
      GCC Administrator committed
  3. 31 Jan, 2017 7 commits