[patch, fortran, committed] Fix regression caused by clobber for INTENT(OUT) patch

Thomas Koenig tkoenig@netcologne.de
Sun Sep 23 10:55:00 GMT 2018


Hello world,

the attached patch, committed as obvious, fixes a regression
introduced by yesterday's patch.  Apparently, clobber statements
are even more finicky that I thought and do not work for saved
variables either.

Regards

	Thomas

2018-09-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/87395
	* gfc_conv_procedure_call: Reformat comments slightly. Do not add
	clobber on INTENT(OUT) for saved variables.

2018-09-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/87395
	* gfortran.dg/intent_out_10.f90: New test.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: p6.diff
Type: text/x-patch
Size: 719 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180923/88084431/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intent_out_10.f90
Type: text/x-fortran
Size: 257 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180923/88084431/attachment-0001.bin>


More information about the Fortran mailing list