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.

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.

As pointed out in the bug report, nearly all compilers do support this vendor extension - and it is even documented in gfortran's manual: http://gcc.gnu.org/onlinedocs/gfortran/Extensions-to-namelist.html

Tobias

Reply via email to