Re: [Patch, Fortran] Fix elemental diagnostic for polymorphic dummies

2012-01-27 Thread Tobias Burnus
On 01/27/2012 01:24 PM, Paul Richard Thomas wrote: This is 'obvious' - OK for trunk. Thanks for the review. I realized that the following chunk was not in the submitted patch. I have no idea why it got lost, but after committal of the original patch and update of by devel tree it showed up

Re: [Patch, Fortran] Fix elemental diagnostic for polymorphic dummies

2012-01-27 Thread Paul Richard Thomas
This is 'obvious' - OK for trunk. Thanks Paul On Fri, Jan 27, 2012 at 12:52 AM, Tobias Burnus wrote: > Dominique found out that there is no diagnostic for polymorphic arrays. This > patch adds it. > > From the F2008 standard: > > "C1289 All dummy arguments of an elemental procedure shall be sc

[Patch, Fortran] Fix elemental diagnostic for polymorphic dummies

2012-01-26 Thread Tobias Burnus
Dominique found out that there is no diagnostic for polymorphic arrays. This patch adds it. From the F2008 standard: "C1289 All dummy arguments of an elemental procedure shall be scalar noncoarray dummy data objects and shall not have the POINTER or ALLOCATABLE attribute." "An elemental sub