This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: [Fortran] Disambiguate A(I,...) and A(I+1,...)


On Sun, Mar 26, 2006 at 11:42:26AM -0700, Roger Sayle wrote:
> 
> 2006-03-26  Roger Sayle  <roger@eyesopen.com>
> 
> 	* dependency.c (gfc_dep_compare_expr): Strip parentheses and unary
> 	plus operators when comparing expressions.  Handle comparisons of
> 	the form "X+C vs. X", "X vs. X+C", "X-C vs. X" and "X vs. X-C" where
> 	C is an integer constant.  Handle comparisons of the form "P+Q vs.
> 	R+S" and "P-Q vs. R-S".  Handle comparisons of integral extensions
> 	specially (increasing functions) so extend(A) > extend(B), when A>B.
> 	(gfc_check_element_vs_element): Move test later, so that we ignore
> 	the fact that "A < B" or "A > B" when A or B contains a forall index.
> 
> 	* gfortran.dg/dependency_14.f90: New test case.
> 	* gfortran.dg/dependency_15.f90: Likewise.
> 	* gfortran.dg/dependency_16.f90: Likewise.
> 

Roger,

In looking at the failure, it appears as if this is part
of a patch you've already applied.

|Index: dependency.c
|===================================================================
|*** dependency.c       (revision 112377)
|--- dependency.c       (working copy)
--------------------------
Patching file dependency.c using Plan A...
Hunk #1 succeeded at 72.
Hunk #2 succeeded at 223.
Hunk #3 failed at 256.
Hunk #4 succeeded at 1021.
Hunk #5 succeeded at 1035.
1 out of 5 hunks failed--saving rejects to dependency.c.rej
done


-- 
Steve


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