[PATCH] D128262: [Fortran] Avoid digits in character constant

Diana Picus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 24 00:26:49 PDT 2022


rovka added a comment.

In D128262#3605429 <https://reviews.llvm.org/D128262#3605429>, @klausler wrote:

> You can get list-directed output records to wrap at any length.  The default is 79 but it can be overridden via FORT_FMT_RECL=n in the environment.

That's cool, thanks :)
OTOH, that's specific to flang, right? So we'd have to tell people to add that to their environment when running the test-suite with flang. With other compilers, people will have to find alternative solutions on their own, if needed. With this patch, things just work, for any compiler, and we're not really changing the meaning of the test, since it says it's checking character constants (we're just switching to characters that don't confuse our existing diff tool).


Repository:
  rT test-suite

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128262/new/

https://reviews.llvm.org/D128262



More information about the llvm-commits mailing list