This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Fortran,committed] Remove redundant word.
On Tue, Sep 20, 2011 at 3:55 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> 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
>
I checked in this.
--
H.J.
---
Index: gfortran.dg/storage_size_2.f08
===================================================================
--- gfortran.dg/storage_size_2.f08 (revision 179021)
+++ gfortran.dg/storage_size_2.f08 (working copy)
@@ -14,10 +14,10 @@ integer(4) :: i1
integer(c_int) :: i2
type(t) :: x
-print *,c_sizeof(i1) ! { dg-error "must be be an
interoperable data entity" }
+print *,c_sizeof(i1) ! { dg-error "must be an
interoperable data entity" }
print *,c_sizeof(i2)
print *,c_sizeof(x)
-print *, c_sizeof(ran()) ! { dg-error "must be be an
interoperable data entity" }
+print *, c_sizeof(ran()) ! { dg-error "must be an
interoperable data entity" }
print *,storage_size(1.0,4)
print *,storage_size(1.0,3.2) ! { dg-error "must be INTEGER" }
Index: ChangeLog
===================================================================
--- ChangeLog (revision 179021)
+++ ChangeLog (working copy)
@@ -1,3 +1,9 @@
+2011-09-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR testsuite/50469
+ * gfortran.dg/storage_size_2.f08: Replace "must be be" with
+ "must be".
+
2011-09-20 Jason Merrill <jason@redhat.com>
* g++.dg/cpp0x/constexpr-generated1.C: New.