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: Fix libgomp Fortran tests


On Fri, Sep 08, 2006 at 01:24:30PM -0700, Steve Kargl wrote:
> Here's a new patch.  It uses not(0).  As I said elsewhere the
> gfortran frontend uses GMP for the integer constant 0, and the
> simplification routine for not() will actually do what you 
> want.  My patch that exposed this problem, fixes not() to
> use an appropriate mask.
> 
>  
> 	* libgomp/testsuite/libgomp.fortran/reduction3.f90: Change
> 	-2147483648 to -huge(i)-1 to avoid overflow.
> 	* libgomp/testsuite/libgomp.fortran/reduction4.f90: Change
> 	Z'ffffffff' to not(0) to avoid overflow.
> 
> OK?

Ok by me.  Guess you can use the obvious rule.

	Jakub


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