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

I build the flang according to the wiki and I am now trying to compile a simple fortran code. But, I am getting the following error message. ``` clang-10: error:...

Flang inserts a temporary array in the computation of the following code in the program given below. `val2(1:dim1,i) = val2(1:dim1,i)*val1(i)` There is no temporary needed here since even if val1...

```fortran module binops contains integer function add(i, j) integer :: i, j add = i + j end function integer function multiply(i, j) integer :: i, j multiply = i...

**Changes in flang1:** (1) The severity was changed from 2 to 3 for pure attribute violation. (semant3.c, rest.c and semfin.c). (2) A new error was added for the case when...

Section 8.4 ("Initialization") of the Fortran 2018 standard states: > If `null-init` appears, the initial association status of the object is disassociated. If `initial-data-target` appears, the object is initially associated...

This code: ``` program main implicit none abstract interface subroutine dgemm_interface(A, B, C, m, k, n) double precision, dimension(:), allocatable, intent(in), target :: A, B double precision, dimension(:), allocatable, intent(inout),...

bug

unknown where these symbols may originate from, or if they should have been generated. ``` .rsp /out:lib\openblas.dll /implib:lib\Release\openblas.lib /pdb:lib\openblas.pdb /dll /version:0.3 /machine:x64 /INCREMENTAL:NO /DEBUG /OPT:REF /OPT:ICF /DEF:CMakeFiles\openblas.dir\.\exports.def /MANIFEST /MANIFESTFILE:lib\openblas.dll.manifest" failed...

Here is test case which can not output the right result. It is expected output "abcxxx", but the result it just "abc". ``` program test character(len=20) :: rslts ! write...

I compiled flang following this guide https://github.com/flang-compiler/flang/wiki/Building-Flang, except that I used release_90, added the NVPTX target, LIBOMPTARGET_NVPTX_COMPUTE_CAPABILITIES="35,61" and GCC 9.2. When I use the following program: ``` program hello use...

Here is the file the is giving the ICE: flang -fopenmp -fopenmp-targets=nvptx64-nvidia-cuda -c ../rte/kernels-openacc/mo_optical_props_kernels.F90 And the error message is: /scratch/naromero/tmp/spack-stage/spack-stage-flang-master-3evqiq2n54ak5c6ad4nscjtduayto7q3/spack-src/tools/flang2/flang2exe/verify.cpp:80: DEBUG_ASSERT 0 < ilix failed F90-F-0000-Internal compiler error. internal error...