Re: [Patch, fortran] PR50981 absent polymorphic scalar actual arguments

2012-02-27 Thread Mikael Morin
Hello, On Monday 13 February 2012 23:38:57 Paul Richard Thomas wrote: > 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 > I have a small hardware issue (overheating) preventing me from

Re: [Patch, fortran] PR50981 absent polymorphic scalar actual arguments

2012-02-13 Thread Paul Richard Thomas
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 wrote: > Hello, > > this is the next PR50981 fix: > when passing polymorphic scalar actual arg

[Patch, fortran] PR50981 absent polymorphic scalar actual arguments

2012-02-12 Thread Mikael Morin
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