aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2011-07-11 10:14:05 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2011-07-11 10:14:05 +0200
commit790f025f3437b664c6dd02a12bdc05074345ac18 (patch)
treeb3db9d3c3d8f32c2ef5c5709b5cd3d9cb9303f00 /gcc/testsuite
parent5097ad6c9090a99a50f218be3407381f2f2b7579 (diff)
downloadgcc-790f025f3437b664c6dd02a12bdc05074345ac18.zip
gcc-790f025f3437b664c6dd02a12bdc05074345ac18.tar.gz
gcc-790f025f3437b664c6dd02a12bdc05074345ac18.tar.bz2
re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays])
2011-07-11 Tobias Burnus <burnus@net-b.de> PR fortran/18918 * gfortran.dg/coarray_lock_3.f90: Remove bogus dg-error. From-SVN: r176137
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gfortran.dg/coarray_lock_3.f902
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6e4c33e..3ae096e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-11 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/18918
+ * gfortran.dg/coarray_lock_3.f90: Remove bogus dg-error.
+
2011-07-11 Georg-Johann Lay <avr@gjlay.de>
* lib/target-supports.exp (check_effective_target_scheduling):
diff --git a/gcc/testsuite/gfortran.dg/coarray_lock_3.f90 b/gcc/testsuite/gfortran.dg/coarray_lock_3.f90
index 5e4c73f..b23d87e 100644
--- a/gcc/testsuite/gfortran.dg/coarray_lock_3.f90
+++ b/gcc/testsuite/gfortran.dg/coarray_lock_3.f90
@@ -69,7 +69,7 @@ subroutine lock_test2
lock(lock)
lock(lock2(1))
lock(lock2) ! { dg-error "must be a scalar coarray of type LOCK_TYPE" }
- lock(lock[1]) ! { dg-error "must be a scalar coarray of type LOCK_TYPE" }
+ lock(lock[1]) ! OK
end subroutine lock_test2