On Tue, Sep 20, 2011 at 3:55 PM, H.J. Lu <hjl.to...@gmail.com> wrote:
> On Tue, Sep 20, 2011 at 9:29 AM, Steve Kargl
> <s...@troutmask.apl.washington.edu> wrote:
>> I've committed the following patch under the obviously
>> correct rule.
>>
>> 2011-09-20  Steven G. Kargl  <ka...@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...@intel.com>
+
+       PR testsuite/50469
+       * gfortran.dg/storage_size_2.f08: Replace "must be be" with
+       "must be".
+
 2011-09-20  Jason Merrill  <ja...@redhat.com>

        * g++.dg/cpp0x/constexpr-generated1.C: New.

Reply via email to