[Patch, Fortran] PR57991 - add alias warning for intent(out)/intent(out)

Tobias Burnus burnus@net-b.de
Sat Jul 27 11:37:00 GMT 2013


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?

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alias-warn.diff
Type: text/x-patch
Size: 2222 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130727/6e7c64de/attachment.bin>


More information about the Gcc-patches mailing list