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] PR 63363: No diagnostic for passing function as actual argument to KIND


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  <janus@gcc.gnu.org>
> 
>     PR fortran/63363
>     * check.c (gfc_check_kind): Reject polymorphic and non-data arguments.
> 
> 2014-12-22  Janus Weil  <janus@gcc.gnu.org>
> 
>     PR fortran/63363
>     * gfortran.dg/kind_1.f90: New.


OK.

-- 
Steve


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