[PATCH] PR fortran/89646 -- suppress spurious warnings

Steve Kargl sgk@troutmask.apl.washington.edu
Thu Jun 13 22:15:00 GMT 2019

The attached patch suppresses the spurious warnings that
would otherwise occur for the testcase.  Regression
tested cleanly on x86_64-*-freebsd.  OK to commit?

2019-06-13  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/89646
	* dependency.c (gfc_check_argument_var_dependency): Suppress spurious
	warnings by comparing variable names.

2019-06-13  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/89646
	* gfortran.dg/pr89646.f90: New test.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr89646.diff
Type: text/x-diff
Size: 1982 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190613/e68c1868/attachment.bin>

More information about the Gcc-patches mailing list