flang
flang copied to clipboard
Flang is a Fortran language front-end designed for integration with LLVM.
There appears to be some inappropriate policing of save and contiguous attributes which causes compilation to fail: > cat test.f90 module test implicit none integer, dimension(:), pointer, contiguous, save ::...
Hello, I am trying to build Flang on macOS 11 ('Apple Silicon') however I get `error: aliases are not supported on darwin` when compiling files `mth_128defs.c` and `mth_vreturns.c`. I use...
When testing PR #962, I ran into a test that causes a crash in a debug build. The test case looks like this: ```fortran REAL, ALLOCATABLE :: CSUB(:,:,:) REAL ::...
Compiling ``` implicit none type :: foo integer :: bar end type foo type(foo) :: x(1) x%bar = 0 print*,x([1]) end ``` gives ``` F90-W-0000-Internal compiler error. gen_derived_io, f90 output...
Please consider this simple test program: ``` PROGRAM TEST INTEGER :: INT, IDX INT = 1 DO IDX=1,65 INT = ISHFT(INT,1) IF(INT.EQ.0) GOTO 10 ENDDO 10 IF(IDX.NE.32) GOTO 900 PRINT...
I am using f18 version 11.0.0 from Fedora 34 rawhide (run on Fedora 33) with the definitions ``` INTEGER, PARAMETER :: int64 = SELECTED_INT_KIND(16) INTEGER, PARAMETER :: real64 = SELECTED_REAL_KIND(15)...
Flang fails to compile the following example which uses an interface procedure calling another interface procedure with the same name in a different module used with a rename list. Using...
I am trying to compile the flang runtime for a 32bit x86 target. I have been able to compile OpenMP for a 32 bit target, but when I tried to...
@gklimowicz @sscalpone In order to build classic flang, https://github.com/flang-compiler/flang/wiki/Building-Flang You have to do a `make` in the `runtime/libpgmath` directory, before the main `make` in the top level directory. This makes...
While testing Classic Flang with LLVM 10 (flang-compiler/classic-flang-llvm-project#1), @gklimowicz ran across two failures in `check-clang` on OpenPOWER. The first is in f90_correct/fc30. The second is in f90_correct/ls07. These failures do...