On Thu, Jul 21, 2011 at 07:59:36AM +0200, Tobias Burnus wrote:
> Steve Kargl wrote:
> >The patch looks incomplete. Where is gfc_warning("Extension: expanding
> >namelist with nonstandard array syntax")?
>
> There exists *no* gfc_warning in libgfortran. And as it is not a
> compiled file but file read by the compiled program, there is no
> possibility to diagnose this at compile time.
There is generate_warning(). If one can disable this
extension vai -std=f95, then one should be able to
emit a warning.
> Additionally, the code in libgfortran only supports this vendor
> extension if one uses -std=gnu or -std=legacy. For, e.g., -std=f2008
> the extended read support is silently disabled. -- You could have seen
> this in the patch.
I read the patch. I disagree with it. I think the extention,
which was removed over a year ago, should not be restored.
--
Steve