Skip to content
Branch: master
Go to file
Code

Latest commit

davis-matthew committed 9ced08b Jul 7, 2020
* Spelling Fix in flang1exe/assem.c

* Spelling fix in flang1exe/accpp.c

* Spelling fix in flang1exe/accpp.c

* Spelling fix in flang1exe/accpp.c

* Spelling fix in flang1exe/ast.c

* Spelling fix in flang1exe/ast.c

* Spelling fix in flang1exe/ast.c

* Spelling fix in flang1exe/ast.c

* Spelling fix in flang1exe/astout.c

* Spelling fix in flang1exe/astout.c

* Spelling fix in flang1exe/comm.c

* Spelling fix in flang1exe/comm.c

* Spelling fix in flang1exe/comm.c

largest instead of biggest for the shift amount, but up to interpretation.

* Spelling fix in flang1exe/comm.c

* Spelling fix in flang1exe/comm.c

"tailling" is not a word, however, in the context of this program I believe it fits. I updated this reference (ln #3452) to match (ln #3347). Potentially change tailling to tailing.

* Spelling fix in flang1exe/comm.h

* Spelling fix in flang1exe/comminvar.c

* Spelling fix in flang1exe/commopt.c

* Spelling fix in commopt.h

* Spelling fix in flang1exe/datadep.c

* Spelling fix in flang1exe/detect.c

* Spelling fix in flang1exe/dinit.c

* Spelling fix in flang1exe/scan.c

* Change "tailling" to trailing

* Ignore argument debug 0

hopefully

* Revert "Change "tailling" to trailing"

This reverts commit 1b098cb.

* Undo personal testing change on master branch

This reverts commit 181fc11.

* Undo personal testing change on master branch

This reverts commit 2d8bd23.

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Flang

Flang is a Fortran compiler targeting LLVM.

Visit the flang wiki for more information:

https://github.com/flang-compiler/flang/wiki

We have mailing lists for announcements and developers. Here's the link with the sign-up information:

http://lists.flang-compiler.org/mailman/listinfo

We have a flang-compiler channel on Slack. Slack is invitation only but anyone can join. Here's the link:

https://join.slack.com/t/flang-compiler/shared_invite/MjExOTEyMzQ3MjIxLTE0OTk4NzQyNzUtODQzZWEyMjkwYw

Building Flang

Instructions for building Flang can be found on the Flang wiki: https://github.com/flang-compiler/flang/wiki/Building-Flang

Compiler Options

For a list of compiler options, enter

% flang -help

The Flang compiler supports accepts all clang 4.0 compiler options and supports many, as well as the following flang-specific compiler options:

-noFlangLibs          Do not link against Flang libraries
-mp                   Enable OpenMP and link with with OpenMP library libomp
-nomp                 Do not link with OpenMP library libomp
-Mbackslash           Treat backslash character like a C-style escape character
-Mno-backslash        Treat backslash like any other character
-Mbyteswapio          Swap byte-order for unformatted input/output
-Mfixed               Assume fixed-format source
-Mextend              Allow source lines up to 132 characters
-Mfreeform            Assume free-format source
-Mpreprocess          Run preprocessor for Fortran files
-Mrecursive           Generate code to allow recursive subprograms
-Mstandard            Check standard conformance
-Msave                Assume all variables have SAVE attribute
-module               path to module file (-I also works)
-Mallocatable=95      Select Fortran 95 semantics for assignments to allocatable objects (Default)
-Mallocatable=03      Select Fortran 03 semantics for assignments to allocatable objects
-static-flang-libs    Link using static Flang libraries
-M[no]daz             Treat denormalized numbers as zero
-M[no]flushz          Set SSE to flush-to-zero mode
-Mcache_align         Align large objects on cache-line boundaries
-M[no]fprelaxed       This option is ignored
-fdefault-integer-8   Treat INTEGER and LOGICAL as INTEGER*8 and LOGICAL*8
-fdefault-real-8      Treat REAL as REAL*8
-i8                   Treat INTEGER and LOGICAL as INTEGER*8 and LOGICAL*8
-r8                   Treat REAL as REAL*8
-fno-fortran-main     Don't link in Fortran main

About

Flang is a Fortran language front-end designed for integration with LLVM.

Resources

License

You can’t perform that action at this time.