Jeff Law <l...@redhat.com> writes:

> On 02/06/14 13:39, Benno Schulenberg wrote:
>>
>> [Oops, had a wrong bug number in the subject line.]
>>
>> Below patch fixes another miswording in an error message,
>> reported by Roland Stigge.  Please apply.
>>
>>
>> 2014-02-06  Benno Schulenberg  <bensb...@justemail.net>
>>
>>      PR translation/52289
>>      * fortran/resolve.c (resolve_ordinary_assign): Fix typoed word
>>      in an error message.
> Thanks.  Installed.

Sometimes even such a trivial patch needs to be regtested.  Installed.

Andreas.

        PR translation/52289
        * gfortran.dg/coarray_8.f90: Update dg-error match.

diff --git a/gcc/testsuite/gfortran.dg/coarray_8.f90 
b/gcc/testsuite/gfortran.dg/coarray_8.f90
index 6defc1a..91d6e9a 100644
--- a/gcc/testsuite/gfortran.dg/coarray_8.f90
+++ b/gcc/testsuite/gfortran.dg/coarray_8.f90
@@ -112,7 +112,7 @@ contains
     type(t),allocatable :: x[:]
     type(t) :: y
     x = y
-    x[1] = y ! { dg-error "must not be have an allocatable ultimate component" 
}
+    x[1] = y ! { dg-error "must not have an allocatable ultimate component" }
   end subroutine assign2
 end module mmm3
 
-- 
1.8.5.4

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to