https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84924

--- Comment #3 from Seth Johnson <johnsonsr at ornl dot gov> ---
That's correct, because those standards include TS 29113 which allows arrays to
be referenced. `-std=f2008ts` also works. The problem is that the usage
described is valid Fortran 2003 but is marked otherwise.

This is like the "const" qualifier raising an error with `gcc -std=c89` but
allowing it with `gcc -std=c99`. It's valid with C99, sure, but the feature is
allowed in the C89 standard as well.

Reply via email to