1. 11 Dec, 2018 9 commits
  2. 10 Dec, 2018 18 commits
  3. 09 Dec, 2018 13 commits
    • re PR fortran/88205 (ICE in gfc_wide_strncasecmp, at fortran/scanner.c:249) · 72eb8e78
      2018-12-09  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/88205
      	* io.c (gfc_match_open): Move NEWUNIT checks to after STATUS checks.
      
      2018-12-09  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/88205
      	* gfortran.dg/pr88205.f90: New unit.
      
      From-SVN: r266936
      Steven G. Kargl committed
    • libphobos: Add druntime bindings for SPARC/Solaris · 899b3981
      Backported from upstream druntime master.
      
      Initial patch by Rainer Orth.
      
      Reviewed-on: https://github.com/dlang/druntime/pull/2344
      
      From-SVN: r266935
      Iain Buclaw committed
    • Generate and scan documentation output in Ddoc tests. · 54f39791
      The tests in gdc.test/compilable/ddoc*.d don't require the module to be
      compiled all the way down to object code.  Instead, only compile the
      test sources with -fdoc, and scan the generated html content.
      
      gcc/testsuite/ChangeLog:
      
      	PR d/88039
      	* gdc.test/gdc-test.exp (gdc-convert-args): Handle -D.
      	(dmd2dg): Check generated html in ddoc tests.
      	(gdc-do-test): Set dg-do-what-default to compile for ddoc tests.
      
      From-SVN: r266933
      Iain Buclaw committed
    • config.gcc (hppa*-*-linux*): Add pa/t-pa to tmake_file. · b8559e81
      	* config.gcc (hppa*-*-linux*): Add pa/t-pa to tmake_file.  Define
      	d_target_objs.
      	* config/pa/pa-protos.h (pa_d_target_versions): New prototype.
      	* config/pa/pa.h (TARGET_D_CPU_VERSIONS): Define.
      	* config/pa/pa-d.c: New file.
      	* config/pa/t-pa: New file.
      
      From-SVN: r266931
      John David Anglin committed
    • re PR fortran/88206 (ICE in gfc_match_type_spec, at fortran/match.c:2229) · 6dc5aacf
      2018-12-09  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/88206
      	* match.c (gfc_match_type_spec): REAL can be an intrinsic function.
      
      2018-12-09  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/88206
      	* gfortran.dg/pr88206.f90: New test.
      
      From-SVN: r266930
      Steven G. Kargl committed
    • re PR libfortran/88411 (Random crashes for ASYNCHRONOUS writes (bad locking?)) · d0cbb206
      2018-12-09  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/88411
      	* io/transfer.c (dta_transfer_init): Do not treat as an
      	asynchronous statement unless the statement has
      	ASYNCHRONOUS="YES".
      	(st_write_done): Likewise.
      	(st_read_done): Do not perform async_wait for synchronous I/O
      	on an async unit.
      	(st_read_done): Likewise.
      
      2018-12-09  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/88411
      	* testsuite/libgomp.fortran/async_io_8.f90: New test.
      
      From-SVN: r266929
      Thomas Koenig committed
    • [multiple changes] · 59cd1934
      2018-12-09  Fritz Reese  <fritzoreese@gmail.com>
      
      	PR fortran/88228
      	* resolve.c (resolve_operator):  Do not call resolve_function.
      	Break like other cases.
      
      2018-12-09  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/88228
      	* gfortran.dg/pr88228.f90: New test.
      
      From-SVN: r266926
      Steven G. Kargl committed
    • Merge dmd upstream e2fe2687b · 9d7d33ac
      Backports VRP fixes from the D front-end implementation to the C++ port,
      and fixes errors reported by ubsan build where the conversion from D
      didn't include adjusting integer suffixes from 'UL' to 'ULL'.
      
      Fixes https://gcc.gnu.org/PR88366
      
      Reviewed-on: https://github.com/dlang/dmd/pull/9046
      
      From-SVN: r266925
      Iain Buclaw committed
    • Correct the reported line number in Fortran combined OpenACC directives · 5d62bfc3
      	gcc/fortran/
      	* trans-openmp.c (gfc_trans_oacc_combined_directive): Set the
      	location of combined acc loops.
      	gcc/testsuite/
      	* gfortran.dg/goacc/combined-directives-3.f90: New file.
      
      Reviewed-by: Thomas Schwinge <thomas@codesourcery.com>
      
      From-SVN: r266924
      Thomas Schwinge committed
    • Correct the reported line number in C++ combined OpenACC directives · 65b5f496
      The C++ FE doesn't set the expr_location of the split acc loop in combined acc
      parallel/kernels loop directives. This only happens for with combined
      directives, otherwise cp_parser_omp_construct would be responsible for setting
      the location. After fixing this bug, I was able to resolve a couple of long
      standing diagnostics discrepancies between the C/C++ FEs in the test suite.
      
      	gcc/cp/
      	* parser.c (cp_parser_oacc_kernels_parallel): Adjust EXPR_LOCATION
      	on the combined acc loop.
      	gcc/testsuite/
      	* c-c++-common/goacc/combined-directives-3.c: New test.
      	* c-c++-common/goacc/loop-2-kernels.c (void K): Adjust test.
      	* c-c++-common/goacc/loop-2-parallel.c (void P): Adjust test.
      	* c-c++-common/goacc/loop-3.c (void p2): Adjust test.
      
      Reviewed-by: Thomas Schwinge <thomas@codesourcery.com>
      
      From-SVN: r266923
      Cesar Philippidis committed
    • Use existing middle end checking for Fortran OpenACC loop clauses · 4b195d27
      Don't duplicate in the Fortran front end what's generically being checked in
      the middle end.
      
      	gcc/fortran/
      	* openmp.c (resolve_oacc_loop_blocks): Remove checking of OpenACC
      	loop clauses.
      	gcc/testsuite/
      	* gfortran.dg/goacc/loop-2-kernels.f95: Update.
      	* gfortran.dg/goacc/loop-2-parallel.f95: Likewise.
      	* gfortran.dg/goacc/nested-parallelism.f90: Likewise.
      
      From-SVN: r266922
      Thomas Schwinge committed
    • Split up "gfortran.dg/goacc/loop-2.f95" · 877009a5
      	gcc/testsuite/
      	* gfortran.dg/goacc/loop-2.f95: Split into...
      	* gfortran.dg/goacc/loop-2-kernels-nested.f95: ... this new
      	file...
      	* gfortran.dg/goacc/loop-2-kernels-tile.f95: ..., and this new
      	file...
      	* gfortran.dg/goacc/loop-2-kernels.f95: ..., and this new file...
      	* gfortran.dg/goacc/loop-2-parallel-3.f95: ..., and this new
      	file...
      	* gfortran.dg/goacc/loop-2-parallel-nested.f95: ..., and this new
      	file...
      	* gfortran.dg/goacc/loop-2-parallel-tile.f95: ..., and this new
      	file...
      	* gfortran.dg/goacc/loop-2-parallel.f95: ..., and this new file.
      
      From-SVN: r266921
      Thomas Schwinge committed
    • [PR88420] Fortran OpenACC "Clause SEQ conflicts with INDEPENDENT" · b22b7d46
      The Fortran front end declares that the OpenACC "Clause SEQ conflicts with
      INDEPENDENT".  While that combination doesn't make too much sense indeed, it's
      still valid; these are orthogonal concepts.
      
      	gcc/fortran/
      	PR fortran/88420
      	* openmp.c (resolve_oacc_loop_blocks): Remove "Clause SEQ
      	conflicts with INDEPENDENT" diagnostic.
      	gcc/testsuite/
      	PR fortran/88420
      	* gfortran.dg/goacc/loop-1-2.f95: Update.
      	* gfortran.dg/goacc/loop-1.f95: Likewise.
      
      From-SVN: r266920
      Thomas Schwinge committed