[Patch, Fortan] PR 47349: missing warning: Actual argument contains too few elements

Janus Weil janus@gcc.gnu.org
Mon Feb 14 12:06:00 GMT 2011


2011/2/14 Tobias Burnus <burnus@net-b.de>:
> 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.

Thanks. Committed as r170125.

Cheers,
Janus



>> 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 Gcc-patches mailing list