diff mbox

Fix PR52289, a typoed word in an error message

Message ID 87ha8arls0.fsf@igel.home
State New
Headers show

Commit Message

Andreas Schwab Feb. 8, 2014, 9:33 a.m. UTC
Jeff Law <law@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  <bensberg@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 mbox

Patch

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