Skip to content

flang_20230809

@alokkrsharma alokkrsharma tagged this 09 Aug 07:35
* Fix failures for imports with LLVM-17

Symptom: Compilation of any Fortran program with imports (USE statement) fails
with assert in compiler backend.

Diagnosis: LLVM-17 expects imports list in retainedNode field of DISubprogram wihch
while Flang is still generating it as imports field of DICompilationUnit.

Fix: Flang is now updated to new IR as expected by LLVM-17.

* Incorporated comment from @bryan.
Assets 2
Loading