[flang-commits] [flang] [flang] Fix DEALLOCATE of zero-sized pointer array section (PR #206691)

via flang-commits flang-commits at lists.llvm.org
Tue Jun 30 02:54:24 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 4440 tests passed
* 206 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Flang
<details>
<summary>Flang.Integration/deallocate-zero-sized-section.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/deallocate-zero-sized-section.f90 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Integration/Output/deallocate-zero-sized-section.f90.tmp 2>&1 && /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Integration/Output/deallocate-zero-sized-section.f90.tmp 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/deallocate-zero-sized-section.f90
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/deallocate-zero-sized-section.f90 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Integration/Output/deallocate-zero-sized-section.f90.tmp
# .---command stdout------------
# | /usr/bin/ld: cannot find -lflang_rt.runtime: No such file or directory
# | flang-23: error: linker command failed with exit code 1 (use -v to see invocation)
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/206691


More information about the flang-commits mailing list