[flang-commits] [flang] [flang][driver] Improve diagnostic for assembly inputs (PR #174316)

via flang-commits flang-commits at lists.llvm.org
Sun Jan 4 06:07:50 PST 2026


github-actions[bot] wrote:

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

* 3864 tests passed
* 201 tests skipped
* 7 tests failed

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

### Flang
<details>
<summary>Flang.Driver/fintegrated-as.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 9
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -c -fno-integrated-as /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/fintegrated-as.f90 -### 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/Driver/fintegrated-as.f90
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -c -fno-integrated-as /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/fintegrated-as.f90 '-###'
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# 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/Driver/fintegrated-as.f90
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/fintegrated-as.f90:10:16: error: CHECK-LABEL: expected string not found in input
# | ! CHECK-LABEL: "-fc1"
# |                ^
# | <stdin>:1:1: note: scanning from here
# | flang version 22.0.0git (https://github.com/llvm/llvm-project 9ba2df4936397d34cc8ce6657f6aded969944109)
# | ^
# | <stdin>:1:38: note: possible intended match here
# | flang version 22.0.0git (https://github.com/llvm/llvm-project 9ba2df4936397d34cc8ce6657f6aded969944109)
# |                                      ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/fintegrated-as.f90
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: flang version 22.0.0git (https://github.com/llvm/llvm-project 9ba2df4936397d34cc8ce6657f6aded969944109) 
# | label:10'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | label:10'1                                          ?                                                                   possible intended match
# |             2: Target: x86_64-unknown-linux-gnu 
# | label:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             3: Thread model: posix 
# | label:10'0     ~~~~~~~~~~~~~~~~~~~~
# |             4: InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin 
# | label:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             5: Build config: +assertions 
# | label:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: flang-22: error: flang does not accept assembly code 
# | label:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Flang.Driver/gcc-toolchain-install-dir.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang 2>&1 -### -v -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Driver/Output/gcc-toolchain-install-dir.f90.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/gcc-toolchain-install-dir.f90 -no-integrated-as -fuse-ld=ld --target=i386-unknown-linux-gnu --gcc-install-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/Inputs/basic_cross_linux_tree/usr/lib/gcc/i386-unknown-linux-gnu/10.2.0 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/gcc-toolchain-install-dir.f90 --check-prefix=CHECK-I386
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-###' -v -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Driver/Output/gcc-toolchain-install-dir.f90.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/gcc-toolchain-install-dir.f90 -no-integrated-as -fuse-ld=ld --target=i386-unknown-linux-gnu --gcc-install-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/Inputs/basic_cross_linux_tree/usr/lib/gcc/i386-unknown-linux-gnu/10.2.0
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# 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/Driver/gcc-toolchain-install-dir.f90 --check-prefix=CHECK-I386
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/gcc-toolchain-install-dir.f90:8:15: error: CHECK-I386: expected string not found in input
# | ! CHECK-I386: "-fc1" "-triple" "i386-unknown-linux-gnu"
# |               ^
# | <stdin>:6:174: note: scanning from here
# | Selected GCC installation: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/Inputs/basic_cross_linux_tree/usr/lib/gcc/i386-unknown-linux-gnu/10.2.0
# |                                                                                                                                                                              ^
# | <stdin>:8:2: note: possible intended match here
# | Selected multilib: .;@m32
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/gcc-toolchain-install-dir.f90
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: flang version 22.0.0git (https://github.com/llvm/llvm-project 9ba2df4936397d34cc8ce6657f6aded969944109) 
# |            2: Target: i386-unknown-linux-gnu 
# |            3: Thread model: posix 
# |            4: InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin 
# |            5: Build config: +assertions 
# |            6: Selected GCC installation: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/Inputs/basic_cross_linux_tree/usr/lib/gcc/i386-unknown-linux-gnu/10.2.0 
# | check:8'0                                                                                                                                                                                  X error: no match found
# |            7: Candidate multilib: .;@m32 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            8: Selected multilib: .;@m32 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:8'1      ?                         possible intended match
# |            9: flang-22: error: flang does not accept assembly code 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Flang.Driver/omp-driver-offload.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 10
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -### -fopenmp /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/omp-driver-offload.f90 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=CHECK-OPENMP /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/omp-driver-offload.f90
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-###' -fopenmp /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/omp-driver-offload.f90
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=CHECK-OPENMP /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/omp-driver-offload.f90
# note: command had no output on stdout or stderr
# RUN: at line 15
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -S -### /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/omp-driver-offload.f90 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Driver/Output/omp-driver-offload.f90.tmp 2>&1  -fopenmp --offload-arch=gfx90a --offload-arch=sm_70  --target=aarch64-unknown-linux-gnu -nogpulib   | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/omp-driver-offload.f90 --check-prefix=OFFLOAD-HOST-AND-DEVICE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -S '-###' /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/omp-driver-offload.f90 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Driver/Output/omp-driver-offload.f90.tmp -fopenmp --offload-arch=gfx90a --offload-arch=sm_70 --target=aarch64-unknown-linux-gnu -nogpulib
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# 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/Driver/omp-driver-offload.f90 --check-prefix=OFFLOAD-HOST-AND-DEVICE
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/omp-driver-offload.f90:25:28: error: OFFLOAD-HOST-AND-DEVICE: expected string not found in input
# | ! OFFLOAD-HOST-AND-DEVICE: "{{[^"]*}}flang" "-fc1" "-triple" "aarch64-unknown-linux-gnu"
# |                            ^
# | <stdin>:1:1: note: scanning from here
# | flang version 22.0.0git (https://github.com/llvm/llvm-project 9ba2df4936397d34cc8ce6657f6aded969944109)
# | ^
# | <stdin>:2:1: note: possible intended match here
# | Target: aarch64-unknown-linux-gnu
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/omp-driver-offload.f90
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: flang version 22.0.0git (https://github.com/llvm/llvm-project 9ba2df4936397d34cc8ce6657f6aded969944109) 
# | check:25'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             2: Target: aarch64-unknown-linux-gnu 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:25'1     ?                                  possible intended match
# |             3: Thread model: posix 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~
# |             4: InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             5: Build config: +assertions 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: flang-22: error: flang does not accept assembly code 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Flang.Driver/pp-fixed-form.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -save-temps -### /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/Inputs/free-form-test.f90  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/Driver/pp-fixed-form.f90 --check-prefix=FREE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -save-temps '-###' /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/Inputs/free-form-test.f90
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# 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/Driver/pp-fixed-form.f90 --check-prefix=FREE
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/pp-fixed-form.f90:2:7: error: FREE: expected string not found in input
# | FREE: "-fc1" {{.*}} "-o" "free-form-test.i" {{.*}} "-x" "f95" "{{.*}}/free-form-test.f90"
# |       ^
# | <stdin>:1:1: note: scanning from here
# | flang version 22.0.0git (https://github.com/llvm/llvm-project 9ba2df4936397d34cc8ce6657f6aded969944109)
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/pp-fixed-form.f90
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          1: flang version 22.0.0git (https://github.com/llvm/llvm-project 9ba2df4936397d34cc8ce6657f6aded969944109) 
# | check:2     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |          2: Target: x86_64-unknown-linux-gnu 
# | check:2     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          3: Thread model: posix 
# | check:2     ~~~~~~~~~~~~~~~~~~~~
# |          4: InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin 
# | check:2     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          5: Build config: +assertions 
# | check:2     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          6: flang-22: error: flang does not accept assembly code 
# | check:2     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Flang.Driver/save-mlir-temps.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 16
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -emit-llvm-bc -save-temps=#invalid-dir -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/save-mlir-temps.f90 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/Driver/save-mlir-temps.f90 -check-prefix=MLIR-ERROR
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -emit-llvm-bc '-save-temps=#invalid-dir' -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/save-mlir-temps.f90
# 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/Driver/save-mlir-temps.f90 -check-prefix=MLIR-ERROR
# note: command had no output on stdout or stderr
# RUN: at line 22
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Driver/Output/save-mlir-temps.f90.tmp && mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Driver/Output/save-mlir-temps.f90.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Driver/Output/save-mlir-temps.f90.tmp
# note: command had no output on stdout or stderr
# executed command: mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Driver/Output/save-mlir-temps.f90.tmp
# note: command had no output on stdout or stderr
# RUN: at line 23
pushd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Driver/Output/save-mlir-temps.f90.tmp && /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -c -fno-integrated-as -save-temps=cwd -o out.o /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/save-mlir-temps.f90 2>&1
# executed command: pushd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Driver/Output/save-mlir-temps.f90.tmp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -c -fno-integrated-as -save-temps=cwd -o out.o /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/save-mlir-temps.f90
# .---command stdout------------
# | flang-22: error: flang does not accept assembly code
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Flang.Driver/save-temps.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 9
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -save-temps -fno-integrated-as /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/save-temps.f90 -### 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/Driver/save-temps.f90
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -save-temps -fno-integrated-as /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/save-temps.f90 '-###'
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# 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/Driver/save-temps.f90
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/save-temps.f90:10:10: error: CHECK: expected string not found in input
# | ! CHECK: "-o" "save-temps.i"
# |          ^
# | <stdin>:1:1: note: scanning from here
# | flang version 22.0.0git (https://github.com/llvm/llvm-project 9ba2df4936397d34cc8ce6657f6aded969944109)
# | ^
# | <stdin>:3:3: note: possible intended match here
# | Thread model: posix
# |   ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/save-temps.f90
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: flang version 22.0.0git (https://github.com/llvm/llvm-project 9ba2df4936397d34cc8ce6657f6aded969944109) 
# | check:10'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             2: Target: x86_64-unknown-linux-gnu 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             3: Thread model: posix 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~
# | check:10'1       ?                  possible intended match
# |             4: InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             5: Build config: +assertions 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: flang-22: error: flang does not accept assembly code 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Flang.Driver/split-debug.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -### -c -target x86_64 -g -gsplit-dwarf /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90 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/Driver/split-debug.f90 --check-prefixes=SPLIT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-###' -c -target x86_64 -g -gsplit-dwarf /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90
# 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/Driver/split-debug.f90 --check-prefixes=SPLIT
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -### -c -target x86_64 -gsplit-dwarf -g /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90 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/Driver/split-debug.f90 --check-prefixes=SPLIT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-###' -c -target x86_64 -gsplit-dwarf -g /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90
# 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/Driver/split-debug.f90 --check-prefixes=SPLIT
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -### -c -target x86_64 -gsplit-dwarf=split -g /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90 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/Driver/split-debug.f90 --check-prefixes=SPLIT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-###' -c -target x86_64 -gsplit-dwarf=split -g /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90
# 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/Driver/split-debug.f90 --check-prefixes=SPLIT
# note: command had no output on stdout or stderr
# RUN: at line 10
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -### -c -target x86_64-apple-darwin  -gsplit-dwarf -g /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90 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/Driver/split-debug.f90 --check-prefix=WARN
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-###' -c -target x86_64-apple-darwin -gsplit-dwarf -g /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90
# 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/Driver/split-debug.f90 --check-prefix=WARN
# note: command had no output on stdout or stderr
# RUN: at line 14
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -### -c -target x86_64 -gsplit-dwarf -g -gno-split-dwarf /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90 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/Driver/split-debug.f90 --check-prefix=NOSPLIT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-###' -c -target x86_64 -gsplit-dwarf -g -gno-split-dwarf /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90
# 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/Driver/split-debug.f90 --check-prefix=NOSPLIT
# note: command had no output on stdout or stderr
# RUN: at line 15
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -### -c -target x86_64 -gsplit-dwarf=single -g -gno-split-dwarf /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90 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/Driver/split-debug.f90 --check-prefix=NOSPLIT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-###' -c -target x86_64 -gsplit-dwarf=single -g -gno-split-dwarf /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90
# 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/Driver/split-debug.f90 --check-prefix=NOSPLIT
# note: command had no output on stdout or stderr
# RUN: at line 16
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -### -c -target x86_64 -gno-split-dwarf -g -gsplit-dwarf /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90 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/Driver/split-debug.f90 --check-prefixes=SPLIT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-###' -c -target x86_64 -gno-split-dwarf -g -gsplit-dwarf /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90
# 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/Driver/split-debug.f90 --check-prefixes=SPLIT
# note: command had no output on stdout or stderr
# RUN: at line 21
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -### -c -target x86_64 -gsplit-dwarf=single -g /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90 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/Driver/split-debug.f90 --check-prefix=SINGLE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-###' -c -target x86_64 -gsplit-dwarf=single -g /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90
# 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/Driver/split-debug.f90 --check-prefix=SINGLE
# note: command had no output on stdout or stderr
# RUN: at line 26
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -### -c -target x86_64 -gsplit-dwarf=single -g -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Driver/Output/split-debug.f90.tmpfoo.o /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90 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/Driver/split-debug.f90 --check-prefix=SINGLE_WITH_FILENAME
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-###' -c -target x86_64 -gsplit-dwarf=single -g -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Driver/Output/split-debug.f90.tmpfoo.o /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90
# 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/Driver/split-debug.f90 --check-prefix=SINGLE_WITH_FILENAME
# note: command had no output on stdout or stderr
# RUN: at line 32
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -### -c -target x86_64-unknown-linux-gnu -fno-integrated-as -gsplit-dwarf -g /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90 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/Driver/split-debug.f90 --check-prefix=OBJCOPY
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang '-###' -c -target x86_64-unknown-linux-gnu -fno-integrated-as -gsplit-dwarf -g /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# 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/Driver/split-debug.f90 --check-prefix=OBJCOPY
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90:33:12: error: OBJCOPY: expected string not found in input
# | ! OBJCOPY: objcopy{{(.exe)?}}
# |            ^
# | <stdin>:1:1: note: scanning from here
# | flang version 22.0.0git (https://github.com/llvm/llvm-project 9ba2df4936397d34cc8ce6657f6aded969944109)
# | ^
# | <stdin>:1:38: note: possible intended match here
# | flang version 22.0.0git (https://github.com/llvm/llvm-project 9ba2df4936397d34cc8ce6657f6aded969944109)
# |                                      ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/split-debug.f90
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: flang version 22.0.0git (https://github.com/llvm/llvm-project 9ba2df4936397d34cc8ce6657f6aded969944109) 
# | check:33'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:33'1                                          ?                                                                   possible intended match
# |             2: Target: x86_64-unknown-linux-gnu 
# | check:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             3: Thread model: posix 
# | check:33'0     ~~~~~~~~~~~~~~~~~~~~
# |             4: InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin 
# | check:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             5: Build config: +assertions 
# | check:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: flang-22: error: flang does not accept assembly code 
# | check:33'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# 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/174316


More information about the flang-commits mailing list