Correct the reported line number in Fortran combined OpenACC directives
commit5d62bfc3e7e954218fafe377324226621e47229d
authorThomas Schwinge <tschwinge@gcc.gnu.org>
Sun, 9 Dec 2018 12:49:20 +0000 (9 13:49 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Sun, 9 Dec 2018 12:49:20 +0000 (9 13:49 +0100)
treee132847c23232f6e6a11e60ce2063e3add0a3306
parent65b5f496995864ec8d789f232ea25329fbf0bf62
Correct the reported line number in Fortran combined OpenACC directives

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
gcc/fortran/ChangeLog
gcc/fortran/trans-openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/goacc/combined-directives-3.c
gcc/testsuite/gfortran.dg/goacc/combined-directives-3.f90 [new file with mode: 0644]