[PATCH] D95460: [flang][driver] Add forced form flags and -ffixed-line-length

Andrzej Warzynski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 29 02:39:53 PDT 2021


awarzynski added a comment.

Hi @protze.joachim ,

Interestingly, GCC does not _error_  when using `gfortran` flags:

  $ gcc -ffree-form file.c
  cc1: warning: command line option ‘-ffree-form’ is valid for Fortran but not for C

I've implemented similar behavior for Clang in https://reviews.llvm.org/D99353. Please, could you take a look and see whether that solves your problem?

-Andrzej


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95460



More information about the cfe-commits mailing list