[patch, fortran] Fix PR 91783

Thomas Koenig tkoenig@netcologne.de
Sun Nov 24 17:11:00 GMT 2019


Hello world,

this patch fixes a 10 regression in dependency checking. The
approach is simple - if gfc_dep_resolver is handed references
with _data, remove that.

Regression-tested. OK for trunk?

Regards

	Thomas

Do not look at _data component in gfc_dep_resolver.

2019-11-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/91783
	* dependency.c (gfc_dep_resolver): Do not look at _data
	component if present.

2019-11-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/91783
	* gfortran.dg/dependency_56.f90: New test.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 902 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191124/16d76a81/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dependency_56.f90
Type: text/x-fortran
Size: 327 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191124/16d76a81/attachment-0001.bin>


More information about the Gcc-patches mailing list