flang
flang copied to clipboard
Flang is a Fortran language front-end designed for integration with LLVM.
My system: Intel Hades Canyon (CPU: Intel KabyLake-G 8809G ) with 16GB memory. I built the flang according this: https://github.com/flang-compiler/flang/wiki/Building-Flang. It's strange, the flang bin file bulit does not show...
Hi @kiranchandramohan Fix #193 Please review it. Thanks, Leslie Zhai
I am using Flang Binary Release 2019-03-29 from https://github.com/flang-compiler/flang/releases/tag/flang_20190329 Consider the following do-nothing code named test.f90: ``` ! test.f90 program test end program test ``` If I compile it with...
There are several issues with the `-Mbackslash` option. 1. Currently, Flang's default behaviour is not compatible with that of gfortran and ifort (as explained in [Arm's own documentation](https://developer.arm.com/documentation/101726/0210/Port-and-Optimize-your-Application-to-SVE-enabled-Arm-based-processors/Fortran-compiler-migration-guides/armflang-for-ifort-users#urj1591008865151__handling-backslash-characters)). Some of...
It took a while, but the problem revealed itself eventually. Consider following piece of a Fortran code: ``` program hello_f use omp_lib integer:: x = 40 integer:: tid, nthreads, tmp_x...
I get an error message ``` f18 -ff2c -finit-local-zero -c -v -march=native -O3 -fno-strict-overflow -I /home/alex/kepler/llvm /home/alex/kepler/source/kepdef.f /home/alex/kepler/source/kepcom:2337:18: error: Equivalence set cannot contain 'odum' that is numeric sequence type and...
For me there is a lot of confusion to me about `f18` compiler and `flang`, whether this is actually the same thing. When I use `f18` things are definitively even...
This test program crashes with a segmentation fault when compiled with the latest Flang on X86: ```fortran program example implicit none character(:), pointer :: ptr(:) character(3), target :: array(1) =...
I am trying to build Flang on the new Apple M1 architecture, however it doesn't work since LLVM 10 doesn't support Apple Silicon. I see that classic-flang-llvm-project has an LLVM...
Flang compiled code returns incorrect length for a variable-length string returned from a function. The following code return length as 0 or a random number with Flang. Gfortran compiled code...