This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] PR50981 absent polymorphic scalar actual arguments


Mikael,

This is OK for trunk with one proviso; could you move
is_class_container_ref to gfc_is_class_container_ref in class.c?

Thanks for the patch

Paul

On Sun, Feb 12, 2012 at 10:11 PM, Mikael Morin <mikael.morin@sfr.fr> wrote:
> Hello,
>
> this is the next PR50981 fix:
> when passing polymorphic scalar actual arguments to elemental procedures, we
> were not adding the "_data" component reference.
> The fix is straightforward; checking that the expression's type is BT_CLASS
> was introducing regressions, so this patch uses a helper function to check
> the type without impacting the testsuite.
>
> Regression tested on x86_64-unknown-freebsd9.0. OK for trunk?
>
> Mikael
>
>



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
? ? ?? --Hitchhikers Guide to the Galaxy


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