From a87dfeedc3ae5d016db2e620d8111881dcef3edd Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Mon, 24 Nov 2014 20:40:10 +0100 Subject: [PATCH] coarray_collectives_3.f90: Add dg-excess-errors. 2014-11-24 Tobias Burnus * gfortran.dg/coarray_collectives_3.f90: Add dg-excess-errors. * gfortran.dg/dollar_sym_1.f90: Ditto. * gfortran.dg/dollar_sym_3.f: Ditto. From-SVN: r218029 --- gcc/testsuite/ChangeLog | 10 ++++++++-- gcc/testsuite/gfortran.dg/coarray_collectives_3.f90 | 1 + gcc/testsuite/gfortran.dg/dollar_sym_1.f90 | 1 + gcc/testsuite/gfortran.dg/dollar_sym_3.f | 1 + 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e67389395c2..8ba6685f4d6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,6 +1,12 @@ +2014-11-24 Tobias Burnus + + * gfortran.dg/coarray_collectives_3.f90: Add dg-excess-errors. + * gfortran.dg/dollar_sym_1.f90: Ditto. + * gfortran.dg/dollar_sym_3.f: Ditto. + 2014-11-24 Alan Lawrence - * lib/target-supports.exp (check_effective_target_whole_vector_shift): + * lib/target-supports.exp (check_effective_target_whole_vector_shift): Add aarch64{,_be}. 2014-11-24 Richard Biener @@ -43,7 +49,7 @@ 2014-11-24 Tobias Burnus * gfortran.dg/dollar_sym_3.f: Update dg-error. - * gfortran.dg/dollar_sym_3.f: Ditto. + * gfortran.dg/coarray_collectives_3.f90: Ditto. 2014-11-23 David Edelsohn diff --git a/gcc/testsuite/gfortran.dg/coarray_collectives_3.f90 b/gcc/testsuite/gfortran.dg/coarray_collectives_3.f90 index bb4d2d3a307..2a3ddf44cfe 100644 --- a/gcc/testsuite/gfortran.dg/coarray_collectives_3.f90 +++ b/gcc/testsuite/gfortran.dg/coarray_collectives_3.f90 @@ -8,3 +8,4 @@ program test integer :: val call co_max(val) ! { dg-error "Coarrays disabled at .1., use '-fcoarray=' to enable" } end program test +! { dg-excess-errors "compilation terminated" } diff --git a/gcc/testsuite/gfortran.dg/dollar_sym_1.f90 b/gcc/testsuite/gfortran.dg/dollar_sym_1.f90 index 6c0dfcb24d6..cb53fd320f2 100644 --- a/gcc/testsuite/gfortran.dg/dollar_sym_1.f90 +++ b/gcc/testsuite/gfortran.dg/dollar_sym_1.f90 @@ -7,3 +7,4 @@ PARAMETER (PLT$B_OPC=0) ! Unreachable as the error above is now fatal common /abc$def/ PLT$C_HOUSTPIX, PLT$C_COMMAND ! Unreachable as the error above is now fatal end +! { dg-excess-errors "compilation terminated" } diff --git a/gcc/testsuite/gfortran.dg/dollar_sym_3.f b/gcc/testsuite/gfortran.dg/dollar_sym_3.f index 8b2644540a9..7b9b3446106 100644 --- a/gcc/testsuite/gfortran.dg/dollar_sym_3.f +++ b/gcc/testsuite/gfortran.dg/dollar_sym_3.f @@ -8,3 +8,4 @@ c Segmentation fault in gfc_restore_last_undo_checkpoint COMMON RADE3155V62$JUTMU9L9E(3,3,3), LADE314JUTMP9 ! { dg-error "Invalid character '\\$' at .1.. Use '-fdollar-ok' to allow it as an extension" } +LHEDDJNTMP9L(3,3,3) end +! { dg-excess-errors "compilation terminated" } -- 2.30.2