Issue 176404
Summary [flang] flang/test/Lower/location.f90 is failing on LLVM 22.1.0-rc1
Labels flang
Assignees
Reporter c-rhodes
    seeing:
```2026-01-16T12:34:43.5710316Z FAIL: Flang :: Lower/location.f90 (28804 of 118450)
2026-01-16T12:34:43.5710818Z ******************** TEST 'Flang :: Lower/location.f90' FAILED ********************
2026-01-16T12:34:43.5711219Z Exit Code: 1
2026-01-16T12:34:43.5711412Z 
2026-01-16T12:34:43.5711572Z Command Output (stdout):
2026-01-16T12:34:43.5711892Z --
2026-01-16T12:34:43.5712125Z # RUN: at line 1
2026-01-16T12:34:43.5716836Z bbc -emit-hlfir --mlir-print-debuginfo /home/runner/work/llvm-project/llvm-project/flang/test/Lower/location.f90 -o - | /mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/bin/FileCheck /home/runner/work/llvm-project/llvm-project/flang/test/Lower/location.f90
2026-01-16T12:34:43.5719270Z # executed command: bbc -emit-hlfir --mlir-print-debuginfo /home/runner/work/llvm-project/llvm-project/flang/test/Lower/location.f90 -o -
2026-01-16T12:34:43.5720557Z # executed command: /mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/bin/FileCheck /home/runner/work/llvm-project/llvm-project/flang/test/Lower/location.f90
2026-01-16T12:34:43.5721320Z # .---command stderr------------
2026-01-16T12:34:43.5721895Z # | /home/runner/work/llvm-project/llvm-project/flang/test/Lower/location.f90:9:10: error: CHECK: expected string not found in input
2026-01-16T12:34:43.5723146Z # | ! CHECK: fir.call @_FortranAioOutputAscii(%{{.*}}, %{{.*}}, %{{.*}}) fastmath<contract> : (!fir.ref<i8>, !fir.ref<i8>, i64) -> i1 loc(fused<#fir<loc_kind_array[ base, inclusion, inclusion]>>["{{.*}}location1.inc":1:10, "{{.*}}location0.inc":1:1, "{{.*}}location.f90":4:1])
2026-01-16T12:34:43.5724029Z # | ^
2026-01-16T12:34:43.5724356Z # | <stdin>:2:61: note: scanning from here
2026-01-16T12:34:43.5724737Z # |  func.func @_QQmain() attributes {fir.bindc_name = "TEST"} {
2026-01-16T12:34:43.5725131Z # | ^
2026-01-16T12:34:43.5725478Z # | 
2026-01-16T12:34:43.5725711Z # | Input file: <stdin>
2026-01-16T12:34:43.5726167Z # | Check file: /home/runner/work/llvm-project/llvm-project/flang/test/Lower/location.f90
2026-01-16T12:34:43.5726594Z # | 
2026-01-16T12:34:43.5726877Z # | -dump-input=help explains the following input dump.
2026-01-16T12:34:43.5727326Z # | 
2026-01-16T12:34:43.5727557Z # | Input was:
2026-01-16T12:34:43.5727851Z # | <<<<<<
2026-01-16T12:34:43.5730930Z # |          1: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr<270> = dense<32> : vector<4xi64>, !llvm.ptr<271> = dense<32> : vector<4xi64>, !llvm.ptr<272> = dense<64> : vector<4xi64>, i8 = dense<[8, 32]> : vector<2xi64>, i16 = dense<[16, 32]> : vector<2xi64>, i64 = dense<64> : vector<2xi64>, i128 = dense<128> : vector<2xi64>, !llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little", "dlti.mangling_mode" = "e", "dlti.legal_int_widths" = array<i32: 32, 64>, "dlti.stack_alignment" = 128 : i64, "dlti.function_pointer_alignment" = #dlti.function_pointer_alignment<32, function_dependent = true>>, fir.defaultkind = "a1c4d8i4l4r4", fir.kindmap = "", llvm.data_layout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32", llvm.ident = "flang version 22.1.0 (https://github.com/llvm/llvm-project 8164f1a0c17b192e133817436bdb07598b7402a3)", llvm.target_triple = "aarch64-unknown-linux-gnu"} { 
2026-01-16T12:34:43.5734314Z # | 2:  func.func @_QQmain() attributes {fir.bindc_name = "TEST"} { 
2026-01-16T12:34:43.5734785Z # | check:9 X error: no match found
2026-01-16T12:34:43.5735437Z # |          3:  %0 = fir.dummy_scope : !fir.dscope loc("/home/runner/work/llvm-project/llvm-project/flang/test/Lower/location.f90":3:1) 
2026-01-16T12:34:43.5736137Z # | check:9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2026-01-16T12:34:43.5737202Z # |          4:  %c6_i32 = arith.constant 6 : i32 loc(fused<#fir<loc_kind_array[ base, inclusion]>>["/home/runner/work/llvm-project/llvm-project/flang/test/Lower/location1.inc":1:1, "/home/runner/work/llvm-project/llvm-project/flang/test/Lower/location0.inc":1:1]) 
2026-01-16T12:34:43.5738466Z # | check:9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2026-01-16T12:34:43.5739801Z # |          5:  %1 = fir.zero_bits !fir.ref<none> loc(fused<#fir<loc_kind_array[ base, inclusion]>>["/home/runner/work/llvm-project/llvm-project/flang/test/Lower/location1.inc":1:1, "/home/runner/work/llvm-project/llvm-project/flang/test/Lower/location0.inc":1:1]) 
2026-01-16T12:34:43.5741038Z # | check:9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2026-01-16T12:34:43.5742326Z # |          6:  %2 = fir.convert %1 : (!fir.ref<none>) -> !fir.ref<i8> loc(fused<#fir<loc_kind_array[ base, inclusion]>>["/home/runner/work/llvm-project/llvm-project/flang/test/Lower/location1.inc":1:1, "/home/runner/work/llvm-project/llvm-project/flang/test/Lower/location0.inc":1:1]) 
2026-01-16T12:34:43.5743702Z # | check:9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2026-01-16T12:34:43.5745010Z # |          7:  %c0_i32 = arith.constant 0 : i32 loc(fused<#fir<loc_kind_array[ base, inclusion]>>["/home/runner/work/llvm-project/llvm-project/flang/test/Lower/location1.inc":1:1, "/home/runner/work/llvm-project/llvm-project/flang/test/Lower/location0.inc":1:1]) 
2026-01-16T12:34:43.5746243Z # | check:9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2026-01-16T12:34:43.5746944Z # |          .
2026-01-16T12:34:43.5747179Z # | .
2026-01-16T12:34:43.5747443Z # |          .
2026-01-16T12:34:43.5747673Z # | >>>>>>
2026-01-16T12:34:43.5747906Z # `-----------------------------
2026-01-16T12:34:43.5748208Z # error: command failed with exit status: 1
```

when building release binaries on Arm64/x86:
https://github.com/llvm/llvm-project/actions/runs/21062423034/job/60571852301#step:12:64064
https://github.com/llvm/llvm-project/actions/runs/21062423034/job/60571905308#step:12:64202
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to