This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

[RFC][PATCH] -d_lines


Hi,

Several "ancient" fortran programs do exercise -- as well as most
commercial compilers do support -- a variant of fixed-mode where 'D'
resp. 'd' in the first column of source is either treated as comment --
per default -- or as code -- if the compiler sees an argument akin to
-d_lines.

gfortran is, ATM, not able to deal with those, however.

Attached patch and testcase 1) are a Request For Comments to implement
an option -d_lines to deal with such codes proper.

I'd be glad for reviewers/testers/committers for this case.


1) i didn't install dejagnu so far, so please bear with me for now..

PS: Changelog inlined in the patchlet; is this ok or should it be kept
in the accompagning mail body?

Thank you,
Bernhard

Attachment: gcc.option-d_lines.01.diff
Description: Text document

Attachment: d_lines.f
Description: Text document


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