https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109099
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 Last reconfirmed| |2023-03-11 --- Comment #1 from anlauf at gcc dot gnu.org --- The code gives a runtime error with NAG, and it looks like the example is invalid. I get: Runtime Error: Invalid character '2' in NAMELIST input Program terminated by I/O error on internal file My interpretation is that NAG thinks that x(2,3)=1,2,3,4, consists of one legal name-value subsequence (i.e. x(2,3)=1), followed by junk.