https://bugs.llvm.org/show_bug.cgi?id=45487

            Bug ID: 45487
           Summary: [flang] check-flang fails after merge in mono-repo.
           Product: flang
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Fortran IR
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

I have built flang in-tree just after the merge in mono-repo.

I can run build and install targets successfully,however for 'ninja
check-flang' the following test fails.
Fir/fir-ops.fir


Currently this
patch(https://github.com/llvm/llvm-project/commit/89c7d9633b3f2255ed711522f29751566a6f5d70)
adds the test as XFAIL, as a temporary fix.
This issue is created to track the bug.


::Commands to build::
env CC=x86_64-pc-linux-gnu-gcc  CXX=x86_64-pc-linux-gnu-g++  
cmake -GNinja  ../llvm-project/llvm/ \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_TARGETS_TO_BUILD=X86 \
-DLLVM_ENABLE_PROJECTS="flang;mlir" \
-DCMAKE_CXX_STANDARD=17  \
-DCMAKE_INSTALL_PREFIX=../install


$ninja check-flang

[0/1] Running the Flang regression tests
FAIL: Flang :: Fir/fir-ops.fir (5 of 349)
******************** TEST 'Flang :: Fir/fir-ops.fir' FAILED
********************
Script:
--
: 'RUN: at line 3';   tco -emit-fir
/home/user/in-tree/llvm-project/flang/test/Fir/fir-ops.fir | tco -emit-fir |
/home/user/in-tree/build/bin/FileCheck
/home/user/tools/in-tree/llvm-project/flang/test/Fir/fir-ops.fir
--
Exit Code: 2

Command Output (stderr):
--
loc("<stdin>":188:1): error: redefinition of SSA value '%0'
Error can't load file -
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /home/user/in-tree/build/bin/FileCheck
/home/user/in-tree/llvm-project/flang/test/Fir/fir-ops.fir

--

********************
********************
Failing Tests (1):
  Flang :: Fir/fir-ops.fir


Testing Time: 1.76s
  Expected Passes    : 348
  Unexpected Failures:   1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to