Skip to content

test failes Flang :: Lower/location.f90 #156629

@kwk

Description

@kwk

Hi, when building LLVM with flang llvm-21.1.0-12.fc44.src.rpm, x86_64 I run into the following error. Can somebody please help me fix this or at least try to reason about it?

FAIL: Flang :: Lower/location.f90 (1830 of 3542)
******************** TEST 'Flang :: Lower/location.f90' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
bbc -emit-hlfir --mlir-print-debuginfo /builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location.f90 -o - | /builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/llvm/redhat-linux-build/bin/FileCheck /builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location.f90 # RUN: at line 1
+ bbc -emit-hlfir --mlir-print-debuginfo /builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location.f90 -o -
+ /builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/llvm/redhat-linux-build/bin/FileCheck /builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location.f90
/builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location.f90:9:10: error: CHECK: expected string not found in input
! 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])
         ^
<stdin>:2:61: note: scanning from here
 func.func @_QQmain() attributes {fir.bindc_name = "test"} {
                                                            ^
Input file: <stdin>
Check file: /builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location.f90
-dump-input=help explains the following input dump.
Input was:
<<<<<<
         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>, i64 = dense<64> : vector<2xi64>, i128 = dense<128> : vector<2xi64>, f80 = dense<128> : vector<2xi64>, !llvm.ptr = dense<64> : vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : 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: 8, 16, 32, 64>, "dlti.stack_alignment" = 128 : i64>, fir.defaultkind = "a1c4d8i4l4r4", fir.kindmap = "", llvm.data_layout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128", llvm.ident = "flang version 21.1.0", llvm.target_triple = "x86_64-redhat-linux-gnu"} { 
         2:  func.func @_QQmain() attributes {fir.bindc_name = "test"} { 
check:9                                                                 X error: no match found
         3:  %0 = fir.dummy_scope : !fir.dscope loc("/builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location.f90":3:1) 
check:9     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         4:  %c6_i32 = arith.constant 6 : i32 loc(fused<#fir<loc_kind_array[ base, inclusion]>>["/builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location1.inc":1:1, "/builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location0.inc":1:1]) 
check:9     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         5:  %1 = fir.zero_bits !fir.ref<none> loc(fused<#fir<loc_kind_array[ base, inclusion]>>["/builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location1.inc":1:1, "/builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location0.inc":1:1]) 
check:9     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         6:  %2 = fir.convert %1 : (!fir.ref<none>) -> !fir.ref<i8> loc(fused<#fir<loc_kind_array[ base, inclusion]>>["/builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location1.inc":1:1, "/builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location0.inc":1:1]) 
check:9     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         7:  %c0_i32 = arith.constant 0 : i32 loc(fused<#fir<loc_kind_array[ base, inclusion]>>["/builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location1.inc":1:1, "/builddir/build/BUILD/llvm-21.1.0-build/llvm-project-21.1.0.src/flang/test/Lower/location0.inc":1:1]) 
check:9     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         .
         .
         .
>>>>>>
--
********************

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions