[Bug fortran/90290] -std=f2008 should reject non-constant stop and error stop codes
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 30 17:46:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90290
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 |P4
CC| |kargl at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gnu.org
Target Milestone|--- |9.2
Severity|minor |normal
--- Comment #3 from kargl at gcc dot gnu.org ---
My version gives
% gfcx -o z -std=f2008 a.f90
a.f90:4:6:
4 | stop ec
| 1
Error: STOP code at (1) must be a scalar default CHARACTER or INTEGER constant
expression
More information about the Gcc-bugs
mailing list