[PATCH] D94228: [flang][driver] Support fixed form detection

Faris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 03:51:24 PST 2021


FarisRehman added a comment.

In D94228#2492906 <https://reviews.llvm.org/D94228#2492906>, @awarzynski wrote:

> I think that it would be useful to add a test like this:
> Input name: `input.f:
>
>   program ShouldFail
>   end
>
> Run line:
>
>   flang-new -E input.f
>
> This should fail as `flang-new` will identify the input it as fixed-form, yet the actual file is free form.

Thanks for the suggestion! However, currently the driver does not print non-fatal errors so this test is not possible as incorrect input form is non-fatal.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94228



More information about the llvm-commits mailing list