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.mo...@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