This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gfortran,patch] Allow dollars everywhere in I/O format


Hi all,

Attached patch fixes PR fortran/24285 by relaxing a constrain on the $ format descriptor, which is a GNU extension. It was specified in the g77 doc that $ is only allowed at the end of the format, but g77 actually compiles code with $ anywhere in a format. The patch relaxes this constraint by simply issuing a warning when a $ when needed.

Bootstrapped and regtested on x86_64-linux, OK for mainline? OK for 4.2? (after all, it's a regression wrt g77)


Attachment: pr24285.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]