[llvm-bugs] [Bug 45487] New: [flang] check-flang fails after merge in mono-repo.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 9 10:57:55 PDT 2020


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: unassignedbugs at nondot.org
          Reporter: gsocsameeran at gmail.com
                CC: David.Truby at arm.com, llvm-bugs at lists.llvm.org,
                    sscalpone at nvidia.com

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200409/0b71c56f/attachment.html>


More information about the llvm-bugs mailing list