flang icon indicating copy to clipboard operation
flang copied to clipboard

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

Results 159 flang issues
Sort by recently updated
recently updated
newest added

This is a bug that affects all flang-based compilers: classic flang 7.0.1, Huawei Bisheng flang 1.3.3, NVIDIA nvfortran 22.3, and AOCC 3.2.0 flang. They raise a false positive error of...

flang generates incorrect debug info for the pointers to array slices in the below example. ``` > flang -g pointers.f90 -o pointers > gdb ./pointers > b pointers.f90:36 > run...

https://github.com/xianyi/OpenBLAS/pull/2652 Here are two build logs, one prior to https://github.com/xianyi/OpenBLAS/pull/2652 and using the standard `> O1` flags. You can search the log for `FATAL ERROR` to find the failing tests....

[test.f.txt](https://github.com/flang-compiler/flang/files/6373632/test.f.txt) A segmentation fault occurs in case there is a comment at the end of a data block with a large number of elements (>496). This happens in flang-7(supplied by...

I came across [this problem](https://github.com/xianyi/OpenBLAS/issues/3528) while compiling OpenBLAS on macOS. Calling flang with `-fno-fortran-main` does nothing, by using `-v` you can see that ld still receives `-lflangmain`. To trigger an...

1127% flang --version clang version 6.0.1 (https://github.com/flang-compiler/flang-driver.git d46cbfe84bfcdbdb70ef5307ef85b745fd50c205) (https://github.com/llvm-mirror/llvm.git 2c9cf4f65f36fe91710c4b1bfd2f8d9533ac01b5) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /snow/valin/llvm/bin 1130% cat hello.f90 program hello print *,'Hello World' end 1131% flang hello.f90 /snow/valin/llvm/bin/../lib/libflang.so:...

verify

Hi, A variable labeled threadprivate in a fortran module lose his state after a use instruction follow by : only, in user module. A simple test case attached to this...

Trying to build the latest classic flang release (20211221) against LLVM 13 on Arch Linux leads to the following failure when compiling the classic flang driver: ``` [300/1624] Building CXX...

flang vs gfortran compiling same code with -flto flag flang runs into /usr/bin/ld: /usr/bin/../lib/LLVMgold.so: error loading plugin: /usr/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory (base) ian@ian-Aspire-One-753:~/CodeCode/CodeCode$...

base) ian@ian-Aspire-One-753:~/flang$ cmake flang CMake Error at CMakeLists.txt:92 (message): llvm-config not found -- LLVM_CONFIG-NOTFOUND -- Configuring incomplete, errors occurred! See also "/home/ian/flang/CMakeFiles/CMakeOutput.log".