This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [Patch, Fortran] PR57991 - add alias warning for intent(out)/intent(out)


Hi Tobias,

Passing the same argument to nonpointer dummy arguments is only
permitted if one does not modify the values.

gfortran was warning for intent(in)/intent(out) and for OUT/IN but not
for OUT/OUT. This patch now also warns for the latter.

Build and regtested on x86-64-gnu-linux.
OK for the trunk?

OK (obvious really).

Thanks for the patch!

	Thomas


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