flang
flang copied to clipboard
Flang is a Fortran language front-end designed for integration with LLVM.
My understanding of the Fortran standard is that the following code sample is invalid, and should thus be rejected by standard-conforming compilers. It isn't by flang. ``` program test type,...
This is more of a question than an actual bug. (In line with https://github.com/flang-compiler/flang/issues/867). I am trying to compile some OpenMP target (4.5) code. Much of it compiles, but then...
To reproduce: Create a new LXC container with Ubuntu 16.04 ```sudo apt install lxd sudo lxd init # On the prompt you can accept the defaults. Perhaps you would also...
The test case mp_correct/lit/pv01.sh has been failing intermittently in the GitHub workflows (see issue #1453). It seems that it only happens when classic-flang-llvm-project is built with Clang 15. This patch...
[This CI job](https://github.com/flang-compiler/flang/actions/runs/10942659878/job/30380212588?pr=1452) had failed, even though there had been no code change in either LLVM or Classic Flang. The commands and errors were as follows: ``` clang -c -c...
The transformational Fortran 2008 intrinsic NORM2 was added in #786. Resent testing has shown unexpected overflows for large double-precision arguments, specifically when the square of an element in the argument...
The problem raised in [this comment](https://github.com/llvm/llvm-project/commit/fb5fd2d82f9befba9cf5152d1a0c5e6f91ee48f0#commitcomment-143551133) may need a downstream workaround. This issue documents the current behaviour of Classic Flang and discusses what the best solution should be. ## Problem...
When I compile the following code with flang on MacOsX and run it, it produces a segmentation fault. With gfortran, no issue is raised. ---------------------------------------------- program main abstract interface subroutine...
521.wrf in CPU2017 FP fails with Runtime error with flang. It fails after handling file read call in module_ra_rrtm IF ( wrf_dm_on_monitor() ) READ (rrtm_unit,ERR=9010) abscoefL1, abscoefH1, SELFREF1