This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR fortran/44346 -- check some values in ibits, mvbits


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]