[Patch, Fortan] PR 47349: missing warning: Actual argument contains too few elements
Tobias Burnus
burnus@net-b.de
Mon Feb 14 09:23:00 GMT 2011
On 02/14/2011 12:27 AM, Janus Weil wrote:
> here is a small patch which concerns the checking of actual arguments:
> The routine 'get_expr_storage_size' had trouble handling derived-type
> components, and in consequence a warning mesage was missing for
> components as actual arguments (see test case).
>
> The patch was regtested on x86_64-unknown-linux-gnu. Ok for trunk?
OK. Thanks for the patch.
Tobias
> 2011-02-14 Janus Weil<janus@gcc.gnu.org>
>
> PR fortran/47349
> * interface.c (get_expr_storage_size): Handle derived-type components.
>
>
> 2011-02-14 Janus Weil<janus@gcc.gnu.org>
>
> PR fortran/47349
> * gfortran.dg/argument_checking_17.f90: New.
More information about the Fortran
mailing list