[flang-commits] [flang] [Flang] Fix fixed-form OpenMP prescan for continuation lines (PR #213856)

via flang-commits flang-commits at lists.llvm.org
Tue Aug 4 00:41:33 PDT 2026


github-actions[bot] wrote:

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

* 4691 tests passed
* 136 tests skipped
* 1 test failed

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

### Flang
<details>
<summary>Flang.Parser/OpenMP/fixed-form-omp-continuation.f</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -fintrinsic-modules-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/finclude/flang/x86_64-unknown-linux-gnu -fopenmp -ffixed-form -fdebug-unparse /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Parser/OpenMP/fixed-form-omp-continuation.f 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/Parser/OpenMP/fixed-form-omp-continuation.f
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -fintrinsic-modules-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/finclude/flang/x86_64-unknown-linux-gnu -fopenmp -ffixed-form -fdebug-unparse /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Parser/OpenMP/fixed-form-omp-continuation.f
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Parser/OpenMP/fixed-form-omp-continuation.f
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Parser/OpenMP/fixed-form-omp-continuation.f:27:9: error: CHECK: expected string not found in input
# | !CHECK: !$omp parallel sections
# |         ^
# | <stdin>:1:1: note: scanning from here
# | SUBROUTINE sub1
# | ^
# | <stdin>:4:2: note: possible intended match here
# |  PRINT *, "in section"
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Parser/OpenMP/fixed-form-omp-continuation.f
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: SUBROUTINE sub1 
# | check:27'0    {                  search range start (exclusive)
# | check:27'1                       error: no match found in search range
# |             2: !$OMP PARALLEL SECTIONS NUM_THREADS(2_4) 
# |             3: !$OMP SECTION 
# |             4:  PRINT *, "in section" 
# | check:27'2      ?                       possible intended match
# |             5: !$OMP END PARALLEL SECTIONS 
# |             6: END SUBROUTINE 
# |             7: SUBROUTINE sub2 
# |             8: !$OMP SECTIONS 
# |             9: !$OMP SECTION 
# |            10:  PRINT *, "ok" 
# |            11: !$OMP END SECTIONS 
# |            12: END SUBROUTINE 
# |            13: PROGRAM MAIN 
# |            14:  CALL sub1() 
# |            15:  CALL sub2() 
# |            16: END PROGRAM 
# | check:27'3                 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/213856


More information about the flang-commits mailing list