[PATCH, Fortran, v1] Clarify error message of co_reduce

Andre Vehreschild vehre@gmx.de
Fri Oct 27 10:19:00 GMT 2017


Hi all,

as noted on IRC is one of the error message in check.c co_reduce misleading.
The attached patch fixes this. The intention of the error message is to tell
that the type of the argument bound to parameter A is of wrong type and not
that an unspecific argument has a wrong type.

If no one objects within 24 h I am planning to commit this patch as obvious to
trunk gcc-7. Bootstrapped and regtested on x86_64-linux-gnu/f25.

Regards,
	Andre
-- 
Andre Vehreschild * Email: vehre ad gmx dot de 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: co_reduce_error_msg_fix.clog
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20171027/533410a0/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: co_reduce_error_msg_fix.diff
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20171027/533410a0/attachment.bin>


More information about the Fortran mailing list