[patch, fortran] Further dependency improvements

Thomas Koenig tkoenig@netcologne.de
Sat Aug 28 09:12:00 GMT 2010


Hi Daniel,

> I think that we introduced CLASS_PURE / CLASS_IMPURE for intrinsics 
> lately -- and would suggest to use that information instead of 
> duplicating the list here.  Although I do not completely remember 
> whether that is already set correctly or not.

Excellent point (I had completely missed this).  Upated patch is
attached.

Currently regtesting.  OK for trunk if this passes?

	Thomas

2010-08-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/45159
	* dependency.c (gfc_deb_compare_expr):  Compare equal for equal
	arglists for pure user functions, or for those intrinsic
	functions which are also pure.

2010-08-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/45159
	* gfortran.dg/dependency_34.f90:  New test.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: p3.diff
Type: text/x-patch
Size: 1998 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100828/e1673864/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dependency_34.f90
Type: text/x-fortran
Size: 435 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100828/e1673864/attachment-0001.bin>


More information about the Fortran mailing list