This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR fortran/44346 -- check some values in ibits, mvbits
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 9 Jun 2010 09:38:28 -0700
- Subject: Re: [PATCH] PR fortran/44346 -- check some values in ibits, mvbits
- References: <20100531203431.GA58149@troutmask.apl.washington.edu>
On Mon, May 31, 2010 at 01:34:31PM -0700, Steve Kargl wrote:
> The attached patch was tested on i686-*-freebsd. The patch with
> the testcases are obvious (to at least me).
>
> OK for trunk (and 4.5 after testing)?.
>
> 2010-05-31 Steven G. Kargl <kargl@gcc.gnu.org>
>
> PR fortran/44346
> * fortran/check.c (gfc_check_ibits, gfc_check_mvbits): Add checks that
> constant argument(s) are within range.
>
> 2010-05-31 Steven G. Kargl <kargl@gcc.gnu.org>
>
> * testsuite/gfortran.dg/ibits_1.f90: New test.
> * testsuite/gfortran.dg/mvbits_9.f90: New test.
The updated patch has been committed to 4.4, 4.5, and trunk.
--
Steve