[patch, fortran, committed] Fix dependency for %re and %im

Thomas Koenig tkoenig@netcologne.de
Wed Jan 1 21:41:00 GMT 2020


Hello world,

New year, new bug, new patch :-)

I have just committed as obvious and simple the attached patch
as r279821, where we failed to account for %re and %im in dependency
checking. This is a 10 regression, gcc 9 works.

Regards

	Thomas

Handle REF_INQUIRY for dependency checking.

2020-01-01  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/93113
	* dependency.c (gfc_dep_resolver): Handle REF_INQUIRY in switch
	for ref types.

2020-01-01  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/93113
	* gfortran.dg/dependency_58.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 411 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20200101/1963616f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dependency_58.f90
Type: text/x-fortran
Size: 735 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20200101/1963616f/attachment-0001.bin>


More information about the Fortran mailing list