[PATCH] Fix AND, OR, and XOR

Jerry DeLisle jvdelisle@verizon.net
Wed May 14 04:07:00 GMT 2008


Steve Kargl wrote:
> On Tue, May 13, 2008 at 07:51:08PM -0700, Jerry DeLisle wrote:
>> Steve Kargl wrote:
>>> See the attached patch.  It's self explanatory.
>>>
>>> 2008-05-13  Steven G. Kargl,   <kargl@comcast.net>
>>> 	* gfortran.dg/and_or_xor.f90: New test
>>>
>>> 	* fortran/simplify.c (gfc_simplify_and, gfc_simplify_or, 
>>> 	gfc_simplify_xor):
>>> 	Don't range check logical results.
>>>
>>>
>> Looks OK to commit if regression tested.
>>
> 
> I no longer have commit access.  I did not do a regression
> test.  I did do 'make pdf' and checked gfortran.pdf was
> correctly generated.  I doubt you even need to do a regression
> test.  gfc_simplify_{and,or,xor} are only used with the 
> G77 compatiblity intrinsics AND(), OR(), XOR().  Only 
> gnu_logical_2.f90 uses these intrinsics, and the simplification
> routines will never be called by that test.

I will commit then for you in the next few days.

Thanks for patch!

Jerry



More information about the Fortran mailing list