1. 25 Jun, 2018 5 commits
    • tree-vect-data-refs.c (vect_find_stmt_data_reference): Modify DR for SIMD lane… · f2227a66
      tree-vect-data-refs.c (vect_find_stmt_data_reference): Modify DR for SIMD lane accesses here and mark DR with (void *)-1 aux.
      
      2018-06-25  Richard Biener  <rguenther@suse.de>
      
      	* tree-vect-data-refs.c (vect_find_stmt_data_reference): Modify
      	DR for SIMD lane accesses here and mark DR with (void *)-1 aux.
      	(vect_analyze_data_refs): Remove similar code from here and
      	simplify accordingly.
      
      From-SVN: r262008
      Richard Biener committed
    • tree-vect-data-refs.c (vect_check_gather_scatter): Fail for reverse storage… · 8c963290
      tree-vect-data-refs.c (vect_check_gather_scatter): Fail for reverse storage order accesses rather than asserting they cannot...
      
      2018-06-25  Richard Biener  <rguenther@suse.de>
              Eric Botcazou  <ebotcazou@libertysurf.fr>
      
      	* tree-vect-data-refs.c (vect_check_gather_scatter): Fail
      	for reverse storage order accesses rather than asserting
      	they cannot happen here.
      
      	* gnat.dg/sso9.adb: New testcase.
      	* gnat.dg/sso9_pkg.ads: Likewise.
      
      From-SVN: r262007
      Richard Biener committed
    • [i386/debug] Fix insn prefix in tls_global_dynamic_64_<mode> · fd082a66
      2018-06-25  Tom de Vries  <tdevries@suse.de>
      
      	PR debug/86257
      	* config/i386/i386.md (define_insn "*tls_global_dynamic_64_<mode>"):
      	Use data16 instead of .byte for insn prefix.
      
      	* gcc.target/i386/pr86257.c: New test.
      
      From-SVN: r262006
      Tom de Vries committed
    • C++: Fix PR86082 · 4f1c88ae
      When turning a user-defined numerical literal into an operator
      invocation the literal needs to be translated to the execution
      character set.
      
      gcc/cp/ChangeLog:
      
      2018-06-25  Andreas Krebbel  <krebbel@linux.ibm.com>
      
      	PR C++/86082
      	* parser.c (make_char_string_pack): Pass this literal chars
      	through cpp_interpret_string.
      	(cp_parser_userdef_numeric_literal): Check the result of
      	make_char_string_pack.
      
      gcc/testsuite/ChangeLog:
      
      2018-06-25  Andreas Krebbel  <krebbel@linux.ibm.com>
      
      	PR C++/86082
      	* g++.dg/pr86082.C: New test.
      
      From-SVN: r262003
      Andreas Krebbel committed
    • Daily bump. · c5ce6638
      From-SVN: r262002
      GCC Administrator committed
  2. 24 Jun, 2018 5 commits
    • stddef.h: Simplify conditions around avoiding re-definition of __size_t. · 9bc6f25d
      	* ginclude/stddef.h: Simplify conditions around avoiding
      	re-definition of __size_t.
      
      From-SVN: r261998
      Maya Rashish committed
    • libgomp.texi (Top): Move www.openmp.org to https. · 1a6d1d24
      	* libgomp.texi (Top): Move www.openmp.org to https.
      	(Enabling OpenMP): Ditto.
      	(omp_get_active_level): Ditto.
      	(omp_get_ancestor_thread_num): Ditto.
      	(omp_get_cancellation): Ditto.
      	(omp_get_default_device): Ditto.
      	(omp_get_dynamic): Ditto.
      	(omp_get_level): Ditto.
      	(omp_get_max_active_levels): Ditto.
      	(omp_get_max_task_priority): Ditto.
      	(omp_get_max_threads): Ditto.
      	(omp_get_nested): Ditto.
      	(omp_get_num_devices): Ditto.
      	(omp_get_num_procs): Ditto.
      	(omp_get_num_teams): Ditto.
      	(omp_get_num_threads): Ditto.
      	(omp_get_proc_bind): Ditto.
      	(omp_get_schedule): Ditto.
      	(omp_get_team_num): Ditto.
      	(omp_get_team_size): Ditto.
      	(omp_get_thread_limit): Ditto.
      	(omp_get_thread_num): Ditto.
      	(omp_in_parallel): Ditto.
      	(omp_in_final): Ditto.
      	(omp_is_initial_device): Ditto.
      	(omp_set_default_device): Ditto.
      	(omp_set_dynamic): Ditto.
      	(omp_set_max_active_levels): Ditto.
      	(omp_set_nested): Ditto.
      	(omp_set_num_threads): Ditto.
      	(omp_set_schedule): Ditto.
      	(omp_init_lock): Ditto.
      	(omp_set_lock): Ditto.
      	(omp_test_lock): Ditto.
      	(omp_unset_lock): Ditto.
      	(omp_destroy_lock): Ditto.
      	(omp_init_nest_lock): Ditto.
      	(omp_set_nest_lock): Ditto.
      	(omp_test_nest_lock): Ditto.
      	(omp_unset_nest_lock): Ditto.
      	(omp_destroy_nest_lock): Ditto.
      	(omp_get_wtick): Ditto.
      	(omp_get_wtime): Ditto.
      	(OMP_CANCELLATION): Ditto.
      	(OMP_DISPLAY_ENV): Ditto.
      	(OMP_DEFAULT_DEVICE): Ditto.
      	(OMP_DYNAMIC): Ditto.
      	(OMP_MAX_ACTIVE_LEVELS): Ditto.
      	(OMP_MAX_TASK_PRIORITY): Ditto.
      	(OMP_NESTED): Ditto.
      	(OMP_NUM_THREADS): Ditto.
      	(OMP_PROC_BIND): Ditto.
      	(OMP_PLACES): Ditto.
      	(OMP_STACKSIZE): Ditto.
      	(OMP_SCHEDULE): Ditto.
      	(OMP_THREAD_LIMIT): Ditto.
      	(OMP_WAIT_POLICY): Ditto.
      
      From-SVN: r261997
      Gerald Pfeifer committed
    • lto-streamer-out.c (tree_is_indexable): Make LABEL_DECL nonindexable unless it… · 6b0917f4
      lto-streamer-out.c (tree_is_indexable): Make LABEL_DECL nonindexable unless it is forced or nonlocal...
      
      
      	* lto-streamer-out.c (tree_is_indexable): Make LABEL_DECL nonindexable
      	unless it is forced or nonlocal; assert that we stream no IMPORTED_DECL.
      
      From-SVN: r261995
      Jan Hubicka committed
    • re PR fortran/85983 (ICE in check_dtio_interface1, at fortran/interface.c:4748) · adaab305
      2018-06-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/85983
      	* interface.c (check_dtio_interface1): Delete assert.
      
      From-SVN: r261994
      Jerry DeLisle committed
    • Daily bump. · c8752e8a
      From-SVN: r261992
      GCC Administrator committed
  3. 23 Jun, 2018 5 commits
  4. 22 Jun, 2018 24 commits
    • re PR fortran/86281 (SEGV in fortran/resolve.c:resolve_function) · 474f2530
      2018-06-22  Paul Thomas  <pault@gcc.gnu.org>
      	    Rainer Orth  <ro@gcc.gnu.org>
      
      	PR fortran/86281
      	* resolve.c (resolve_contained_fntype): Check for the charlen
      	before testing the length.
      
      2018-06-22  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/86281
      	* gfortran.dg/assumed_charlen_function_7.f90: Add -std=legacy.
      
      
      Co-Authored-By: Rainer Orth <ro@gcc.gnu.org>
      
      From-SVN: r261975
      Paul Thomas committed
    • rs6000-c.c (altivec_overloaded_builtins): Change behavior of vec_pack (vector double... · 9395b1d9
      gcc/ChangeLog:
      
      2018-06-22  Kelvin Nilsen  <kelvin@gcc.gnu.org>
      
      	* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Change
      	behavior of vec_pack (vector double, vector double) to match
      	behavior of vec_float2 (vector double, vector double).
      
      gcc/testsuite/ChangeLog:
      
      2018-06-22  Kelvin Nilsen  <kelvin@gcc.gnu.org>
      
      	* gcc.target/powerpc/builtins-3-p8.c (test_pack_float): Remove
      	this test.
      	* gcc.target/powerpc/builtins-9.c: New test.
      	* gcc.target/powerpc/fold-vec-pack-double.c: Modify dg directives
      	to expect different code generation on big-endian vs.
      	little-endian targets.
      
      From-SVN: r261974
      Kelvin Nilsen committed
    • PR c++/86219 - ICE with erroneous initializer in template. · e56f6629
      	* constexpr.c (fold_non_dependent_expr): Add complain parm.
      	* call.c, expr.c, init.c, pt.c, semantics.c, typeck.c, typeck2.c:
      	Pass it.
      	* call.c (build_cxx_call): Don't mess with builtins in a template.
      	* typeck2.c (store_init_value): If fold_non_dependent_expr didn't
      	produce a constant value, go back to the uninstantiated form.
      
      From-SVN: r261972
      Jason Merrill committed
    • Avoid taking the address of something just because it's in parens. · e4511ca2
      	* constexpr.c (same_type_ignoring_tlq_and_bounds_p): New.
      	(cxx_fold_indirect_ref): Use it.
      	(cxx_eval_constant_expression) [VIEW_CONVERT_EXPR]: Use it.
      	* cp-tree.h (REF_PARENTHESIZED_P): Allow VIEW_CONVERT_EXPR.
      	* semantics.c (force_paren_expr): Use VIEW_CONVERT_EXPR instead of
      	static_cast to reference type.
      	(maybe_undo_parenthesized_ref): Handle VIEW_CONVERT_EXPR.
      
      From-SVN: r261971
      Jason Merrill committed
    • [testsuite/guality] Use buildarea gdb by default in combined build · 73607ff9
      2018-06-22  Tom de Vries  <tdevries@suse.de>
      
      	* g++.dg/guality/guality.exp (guality_gdb_name): Default to
      	$rootme/../gdb/gdb, if available.
      	* gcc.dg/guality/guality.exp (guality_gdb_name): Same.
      	* gfortran.dg/guality/guality.exp (guality_gdb_name): Same.
      
      From-SVN: r261935
      Tom de Vries committed
    • [testsuite/guality] Be verbose about gdb version used · be56f2c4
      2018-06-22  Tom de Vries  <tdevries@suse.de>
      
      	* lib/gcc-gdb-test.exp (report_gdb): New proc.
      	* g++.dg/guality/guality.exp: Use report_gdb.
      	* gcc.dg/guality/guality.exp: Same.
      	* gfortran.dg/guality/guality.exp: Same.
      
      From-SVN: r261911
      Tom de Vries committed
    • re PR c++/85662 ("error: non-constant condition for static assertion" from… · 7017d4a2
      re PR c++/85662 ("error: non-constant condition for static assertion" from __builtin_offsetof in C++)
      
      	PR c++/85662
      	* g++.dg/ext/offsetof3.C: New test.
      
      From-SVN: r261909
      Jakub Jelinek committed
    • Improve entry/exit instrumentation for nested functions · 0fb6181e
      2018-06-22  Olivier Hainque  <hainque@adacore.com>
      
      	* gimplify.c (gimplify_function_tree): Prevent creation
      	of a trampoline for the address of the current function
      	passed to entry/exit instrumentation hooks.
      
      From-SVN: r261908
      Olivier Hainque committed
    • Forgot PR target/86222 in ChangeLog · 3f14cdf8
      From-SVN: r261906
      Aaron Sawdey committed
    • rs6000-string.c (expand_strn_compare): Handle -m32 correctly. · e9727bda
      2018-06-22  Aaron Sawdey  <acsawdey@linux.ibm.com>
      
      	* config/rs6000/rs6000-string.c (expand_strn_compare): Handle -m32
      	correctly.
      
      From-SVN: r261905
      Aaron Sawdey committed
    • altivec-7.c: Add qualifiers for counts on AIX versus Linux. · 84ee4321
      
      gcc/testsuite/ChangeLog:
      
      2018-06-22  Carl Love  <cel@us.ibm.com>
      
       	* gcc.target/powerpc/altivec-7.c: Add qualifiers for counts on AIX
      	versus Linux.  Change checks for xxlnor, xxland and xxlxor to also look
      	for the vnor, vand and vxor instructions.
      	* gcc.target/powerpc/builtins-1.c: Move vec_or tests to a new file.
      	Remove counts for xxlor. Fix match on bl __divdi3 and bl __udivdi3.
      	* gcc.target/powerpc/builtins-4.c: Fix matching for vsl instructions.
      	* gcc.target/powerpc/builtins-5.c: New test file for vec_or test cases.
       	* gcc.target/powerpc/vsx-vector-6.p7.c: Fix xxlnor BE expected count.
      	Add -dp to dg-options, update expected counts.
      
      From-SVN: r261904
      Carl Love committed
    • Fix test case failures for pdp11 target. · 7393e5de
      	* gcc.c-torture/execute/builtins/lib/chk.c: Use smaller alignment
      	if pdp11.
      	* gcc.c-torture/compile/20010518-2.c: Skip if pdp11 -mint32.
      	* gcc.c-torture/compile/20040101-1.c: Ditto.
      	* gcc.c-torture/compile/20050622-1.c: Ditto.
      	* gcc.c-torture/compile/20080625-1.c: Ditto.
      	* gcc.c-torture/compile/20090107-1.c: Ditto.
      	* gcc.c-torture/compile/920501-12.c: Ditto.
      	* gcc.c-torture/compile/920501-4.c: Ditto.
      	* gcc.c-torture/compile/961203-1.c: Ditto.
      	* gcc.c-torture/compile/limits-externdecl.c: Ditto.
      	* gcc.c-torture/compile/pr25310.c: Ditto.
      
      From-SVN: r261897
      Paul Koning committed
    • syscall: remove Ustat · 38a4d6da
          
          glibc 2.28 removes ustat.h and the ustat function entirely, which
          breaks syscall.Ustat.
          
          Updates golang/go#25990
          
          Reviewed-on: https://go-review.googlesource.com/120535
      
      From-SVN: r261896
      Ian Lance Taylor committed
    • Fix unexported basic_string symbols for 32-bit targets · 626d407b
      	* config/abi/pre/gnu.ver: Fix __cxx11::basic_string patterns for
      	different size_t mangling on 32-bit targets.
      
      From-SVN: r261892
      Jonathan Wakely committed
    • PR libstdc++/86280 fix undefined left shift on 32-bit targets · 0b4bc9a1
      	PR libstdc++/86280
      	* include/experimental/memory_resource
      	(__resource_adaptor_common::_AlignMgr::_M_token_size): Use type large
      	enough for result of left shift.
      
      From-SVN: r261888
      Jonathan Wakely committed
    • Fix emission of jump tables (PR tree-optimization/86263). · 5885a1bd
      2018-06-22  Martin Liska  <mliska@suse.cz>
      
              PR tree-optimization/86263
      	* tree-switch-conversion.c (jump_table_cluster::find_jump_tables):
              Bail out if is_enabled is false.
      	* tree-switch-conversion.h (jump_table_cluster::is_enabled):
              New declaration.
      	(jump_table_cluster::is_enabled): New function.
      
      From-SVN: r261886
      Martin Liska committed
    • lto-streamer-out.c (DFS::DFS_write_tree_body): Do not stream BINFO_BASE_ACCESSES… · 0c172706
      lto-streamer-out.c (DFS::DFS_write_tree_body): Do not stream BINFO_BASE_ACCESSES and BINFO_VPTR_FIELD.
      
      
      	* lto-streamer-out.c (DFS::DFS_write_tree_body): Do not stream
      	BINFO_BASE_ACCESSES and BINFO_VPTR_FIELD.
      	* tree-streamer-in.c (streamer_read_tree_bitfields): Likewise.
      	(lto_input_ts_binfo_tree_pointers): Likewise.
      	* tree-streamer-out.c (streamer_write_tree_bitfields,
      	write_ts_binfo_tree_pointers): Likewise.
      	* tree.c (free_lang_data_in_binfo): Clear BINFO_VPTR_FIELD.
      
      From-SVN: r261885
      Jan Hubicka committed
    • Update OpenACC testcases · 31dd69b7
      	gcc/testsuite/
      	* c-c++-common/goacc/deviceptr-4.c: New file.
      	* c-c++-common/goacc/kernels-counter-var-redundant-load.c:
      	Likewise.
      	* c-c++-common/goacc/kernels-loop-data-2.c: Likewise.
      	* c-c++-common/goacc/kernels-loop-data-enter-exit-2.c: Likewise.
      	* c-c++-common/goacc/kernels-loop-data-enter-exit.c: Likewise.
      	* c-c++-common/goacc/kernels-loop-data-update.c: Likewise.
      	* c-c++-common/goacc/kernels-loop-data.c: Likewise.
      	* c-c++-common/goacc/kernels-parallel-loop-data-enter-exit.c:
      	Likewise.
      	* c-c++-common/goacc/parallel-reduction.c: Likewise.
      	* c-c++-common/goacc/private-reduction-1.c: Likewise.
      	* gfortran.dg/goacc/kernels-parallel-loop-data-enter-exit.f95:
      	Likewise.
      	* gfortran.dg/goacc/modules.f95: Likewise.
      	* gfortran.dg/goacc/routine-8.f90: Likewise.
      	* gfortran.dg/goacc/routine-level-of-parallelism-1.f90: Likewise.
      	libgomp/
      	* testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Don't force "-O2".
      	* testsuite/libgomp.oacc-c-c++-common/data-2.c: Update.
      	* testsuite/libgomp.oacc-c-c++-common/host_data-1.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/mode-transitions.c: Likewise.
      	* testsuite/libgomp.oacc-fortran/data-1.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/data-2.f90: Likewise.
      	* testsuite/libgomp.oacc-c++/non-scalar-data.C: New file.
      	* testsuite/libgomp.oacc-c-c++-common/declare-3.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/enter-data.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-2.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-enter-exit-2.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-enter-exit.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-update.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-loop-data.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-parallel-loop-data-enter-exit.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-1.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-2.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-3.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-4.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-5.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-1.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-2.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-3.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-4.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-5.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-6.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-1.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-2.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-1.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-2.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-3.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-4.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-5.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-6.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-7.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/kernels-reduction-1.c:
      	Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.h: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/parallel-loop-2.h: Likewise.
      	* testsuite/libgomp.oacc-fortran/cublas-fixed.h: Likewise.
      	* testsuite/libgomp.oacc-fortran/dummy-array.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/host_data-2.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/host_data-3.f: Likewise.
      	* testsuite/libgomp.oacc-fortran/host_data-4.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-acc-loop-reduction-2.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-acc-loop-reduction.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-collapse-3.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-collapse-4.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-independent.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-loop-1.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-map-1.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-parallel-loop-data-enter-exit.f95:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-1.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-2.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-3.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-6.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-1.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-2.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-1.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-2.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-3.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-4.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-5.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-6.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-7.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/kernels-reduction-1.f90:
      	Likewise.
      	* testsuite/libgomp.oacc-fortran/lib-12.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/lib-13.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/lib-14.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/lib-15.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/parallel-loop-1.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/reference-reductions.f90: Likewise.
      	* testsuite/libgomp.oacc-fortran/vector-routine.f90: Likewise.
      
      Co-Authored-By: James Norris <jnorris@codesourcery.com>
      Co-Authored-By: Julian Brown <julian@codesourcery.com>
      Co-Authored-By: Thomas Schwinge <thomas@codesourcery.com>
      Co-Authored-By: Tom de Vries <tom@codesourcery.com>
      
      From-SVN: r261884
      Cesar Philippidis committed
    • * tree.c (free_lang_data_in_type): Free all TYPE_VFIELDs. · ebbb1168
      From-SVN: r261883
      Jan Hubicka committed
    • Make symbol_summary::get and call_summary::get pure. · e08bf125
      2018-06-22  Martin Liska  <mliska@suse.cz>
      
      	* symbol-summary.h (get): Make it pure and inline move
              functionality from ::get function.
              (get): Remove and inline into ::get and ::get_create.
              (get_create): Move code from ::get function.
      
      From-SVN: r261882
      Martin Liska committed
    • Don't preprocess .S files with -P on Solaris/x86 (PR target/85994) · 635b7382
      	PR target/85994
      	* config/i386/sol2.h (CPP_SPEC): Don't pass -P for
      	-x assembler-with-cpp.
      
      From-SVN: r261880
      Rainer Orth committed
    • Have g++ define _FILE_OFFSET_BITS=64 on Solaris · a634048e
      	* config/sol2.h (TARGET_OS_CPP_BUILTINS): Define
      	_FILE_OFFSET_BITS=64 for C++.
      
      From-SVN: r261879
      Rainer Orth committed
    • 2018-06-21 François Dumont <fdumont@gcc.gnu.org> · 89de39a9
      Fix this ChangeLog entry.
      
      From-SVN: r261878
      François Dumont committed
    • Daily bump. · f76e0768
      From-SVN: r261877
      GCC Administrator committed
  5. 21 Jun, 2018 1 commit
    • PR libstdc++/86138 prevent implicit instantiation of COW empty rep · d72888d3
      The explicit instantiation declarations for std::basic_string are
      disabled for C++17 (and later) so that basic_string symbols get
      implicitly instantiated in every translation unit that needs them.  On
      targets that don't support STB_GNU_UNIQUE this leads to multiple copies
      of the empty rep symbol for COW strings. In order to detect whether a
      COW string needs to deallocate its storage it compares the address with
      the empty rep.  When there are multiple copies of the empty rep object
      the address is not unique, and so string destructors try to delete the
      empty rep, which crashes.
      
      In order to guarantee uniqueness of the _S_empty_rep_storage symbol this
      patch adds an explicit instantiation declaration for just that symbol.
      This means the other symbols are still implicitly instantiated in C++17
      code, but for the empty rep the definition in the library gets used.
      
      Separately, there is no need for C++17 code to implicitly instantiate
      the I/O functions for strings, so this also restores the explicit
      instantiation declarations for those functions.
      
      	PR libstdc++/86138
      	* include/bits/basic_string.tcc:
      	[__cplusplus > 201402 && !_GLIBCXX_USE_CXX11_ABI]
      	(basic_string<char>::_Rep::_S_empty_rep_storage)
      	(basic_string<wchar_t>::_Rep::_S_empty_rep_storage): Add explicit
      	instantiation declarations.
      	[__cplusplus > 201402] (operator>>, operator<<, getline): Re-enable
      	explicit instantiation declarations.
      	* testsuite/21_strings/basic_string/cons/char/86138.cc: New.
      	* testsuite/21_strings/basic_string/cons/wchar_t/86138.cc: New.
      
      From-SVN: r261873
      Jonathan Wakely committed