Patchwork [Fortran,committed] Remove redundant word.

login
register
mail settings
Submitter Steve Kargl
Date Sept. 20, 2011, 4:29 p.m.
Message ID <20110920162912.GA55585@troutmask.apl.washington.edu>
Download mbox | patch
Permalink /patch/115599/
State New
Headers show

Comments

Steve Kargl - Sept. 20, 2011, 4:29 p.m.
I've committed the following patch under the obviously
correct rule.

2011-09-20  Steven G. Kargl  <kargl@gcc.gnu.org>

        * check.c (gfc_check_c_sizeof): Remove redundant word.
H.J. Lu - Sept. 20, 2011, 10:55 p.m.
On Tue, Sep 20, 2011 at 9:29 AM, Steve Kargl
<sgk@troutmask.apl.washington.edu> wrote:
> I've committed the following patch under the obviously
> correct rule.
>
> 2011-09-20  Steven G. Kargl  <kargl@gcc.gnu.org>
>
>        * check.c (gfc_check_c_sizeof): Remove redundant word.
>
>

You may need to update

gfortran.dg/storage_size_2.f08:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50469

Patch

Index: check.c
===================================================================
--- check.c	(revision 179008)
+++ check.c	(working copy)
@@ -3489,7 +3489,7 @@  gfc_check_c_sizeof (gfc_expr *arg)
 {
   if (verify_c_interop (&arg->ts) != SUCCESS)
     {
-      gfc_error ("'%s' argument of '%s' intrinsic at %L must be be an "
+      gfc_error ("'%s' argument of '%s' intrinsic at %L must be an "
 		 "interoperable data entity",
 		 gfc_current_intrinsic_arg[0]->name, gfc_current_intrinsic,
 		 &arg->where);