[Patch, Fortran] PR 63363: No diagnostic for passing function as actual argument to KIND

2014-12-22 Thread Janus Weil
Hi all, here is a small patch which enhances the diagnostics for the intrinsic KIND function. Regtested on x86_64-unknown-linux-gnu. Ok for trunk? Cheers, Janus 2014-12-22 Janus Weil ja...@gcc.gnu.org PR fortran/63363 * check.c (gfc_check_kind): Reject polymorphic and non-data

Re: [Patch, Fortran] PR 63363: No diagnostic for passing function as actual argument to KIND

2014-12-22 Thread Steve Kargl
On Mon, Dec 22, 2014 at 04:48:02PM +0100, Janus Weil wrote: here is a small patch which enhances the diagnostics for the intrinsic KIND function. Regtested on x86_64-unknown-linux-gnu. Ok for trunk? Cheers, Janus 2014-12-22 Janus Weil ja...@gcc.gnu.org PR fortran/63363 *

Re: [Patch, Fortran] PR 63363: No diagnostic for passing function as actual argument to KIND

2014-12-22 Thread Janus Weil
here is a small patch which enhances the diagnostics for the intrinsic KIND function. Regtested on x86_64-unknown-linux-gnu. Ok for trunk? OK. Thanks, committed as r219027. Cheers, Janus