[cfe-dev] CodeGenCXX/captured-statements.cpp test fails on Linux PowerPC 64
Langmuir, Ben
ben.langmuir at intel.com
Mon May 13 05:46:05 PDT 2013
I was able to reproduce this by setting -triple=powerpc64-unknown-linux-gnu. I’ve attached a patch that should fix the problem – could someone give this a quick review?
Thanks,
Ben
From: cfe-dev-bounces at cs.uiuc.edu [mailto:cfe-dev-bounces at cs.uiuc.edu] On Behalf Of Ismail Dönmez
Sent: Sunday, May 12, 2013 5:05 AM
To: cfe-dev at cs.uiuc.edu
Subject: [cfe-dev] CodeGenCXX/captured-statements.cpp test fails on Linux PowerPC 64
Hi,
I got the following on openSUSE 13.1 PPC64:
[58620s] ******************** TEST 'Clang :: CodeGenCXX/captured-statements.cpp' FAILED ********************
[58620s] Script:
[58620s] --
[58620s] /home/abuild/rpmbuild/BUILD/llvm/stage2/Release/bin/clang -cc1 -internal-isystem /home/abuild/rpmbuild/BUILD/llvm/stage2/Release/bin/../lib64/clang/3.4/include -std=c++11 -emit-llvm /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/CodeGenCXX/captured-statements.cpp -o /home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/CodeGenCXX/Output/captured-statements.cpp.tmp
[58620s] FileCheck /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/CodeGenCXX/captured-statements.cpp -input-file=/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/CodeGenCXX/Output/captured-statements.cpp.tmp -check-prefix=CHECK-1
[58620s] FileCheck /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/CodeGenCXX/captured-statements.cpp -input-file=/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/CodeGenCXX/Output/captured-statements.cpp.tmp -check-prefix=CHECK-2
[58620s] FileCheck /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/CodeGenCXX/captured-statements.cpp -input-file=/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/CodeGenCXX/Output/captured-statements.cpp.tmp -check-prefix=CHECK-3
[58620s] FileCheck /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/CodeGenCXX/captured-statements.cpp -input-file=/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/CodeGenCXX/Output/captured-statements.cpp.tmp -check-prefix=CHECK-4
[58620s] FileCheck /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/CodeGenCXX/captured-statements.cpp -input-file=/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/CodeGenCXX/Output/captured-statements.cpp.tmp -check-prefix=CHECK-5
[58620s] FileCheck /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/CodeGenCXX/captured-statements.cpp -input-file=/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/CodeGenCXX/Output/captured-statements.cpp.tmp -check-prefix=CHECK-6
[58620s] --
[58620s] Exit Code: 1
[58620s] Command Output (stderr):
[58620s] --
[58620s] /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/CodeGenCXX/captured-statements.cpp:58:14: error: expected string not found in input
[58620s] // CHECK-2: call i32 @[[Lambda:["$\w]+]]
[58620s] ^
[58620s] /home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/CodeGenCXX/Output/captured-statements.cpp.tmp:54:23: note: scanning from here
[58620s] define void @_Z5test2i(i32 signext %x) #0 {
[58620s] ^
[58620s] /home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/CodeGenCXX/Output/captured-statements.cpp.tmp:55:11: note: possible intended match here
[58620s] %1 = alloca i32, align 4
[58620s] ^
[58620s] --
[58620s]
Any ideas?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130513/5ee250d7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-capturedstmt-codegen-powerpc.patch
Type: application/octet-stream
Size: 1289 bytes
Desc: fix-capturedstmt-codegen-powerpc.patch
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130513/5ee250d7/attachment.obj>
More information about the cfe-dev
mailing list