[cfe-dev] [SystemZ] [release_34] clang regressions

İsmail Dönmez ismail at donmez.ws
Mon Dec 2 02:17:13 PST 2013


Hi Richard,

The 2 llvm regressions I reported are now fixed (thanks again!) but now I
see 7 clang regressions:

 FAIL: Clang :: Analysis/misc-ps.c (257 of 16072)
 ******************** TEST 'Clang :: Analysis/misc-ps.c' FAILED
********************
 Script:
 --
 /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./clang -cc1 -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/include
-triple x86_64-apple-darwin10 -analyze -disable-free
-analyzer-eagerly-assume
-analyzer-checker=core,deadcode,debug.ExprInspection -verify
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Analysis/misc-ps.c
 --
 Exit Code: 134

 Command Output (stderr):
 --
 clang:
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/lib/AST/ExprClassification.cpp:67:
Cl clang::Expr::ClassifyImpl(clang::ASTContext &, clang::SourceLocation *)
const: Assertion `getValueKind() == VK_RValue' failed.
 0  libLLVMSupport.so 0x000003fffce06618
llvm::sys::PrintStackTrace(_IO_FILE*) + 36
 Stack dump:
 0. Program arguments: /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./clang
-cc1 -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/include
-triple x86_64-apple-darwin10 -analyze -disable-free
-analyzer-eagerly-assume
-analyzer-checker=core,deadcode,debug.ExprInspection -verify
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Analysis/misc-ps.c
 1. /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Analysis/misc-ps.c:185:22:
current parser token ';'
 2. /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Analysis/misc-ps.c:182:28:
parsing function body 'PR16131'
 3. /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Analysis/misc-ps.c:182:28:
in compound statement ('{}')
 /home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Analysis/Output/misc-ps.c.script:
line 1: 23726 Aborted
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./clang -cc1 -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/include
-triple x86_64-apple-darwin10 -analyze -disable-free
-analyzer-eagerly-assume
-analyzer-checker=core,deadcode,debug.ExprInspection -verify
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Analysis/misc-ps.c

 --

 ********************
 Testing:
 FAIL: Clang :: Analysis/out-of-bounds.c (282 of 16072)
 ******************** TEST 'Clang :: Analysis/out-of-bounds.c' FAILED
********************
 Script:
 --
 /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./clang -cc1 -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/include
-Wno-array-bounds -analyze
-analyzer-checker=core,alpha.security.ArrayBoundV2 -verify
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Analysis/out-of-bounds.c
 --
 Exit Code: 134

 Command Output (stderr):
 --
 clang:
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/lib/AST/ExprClassification.cpp:67:
Cl clang::Expr::ClassifyImpl(clang::ASTContext &, clang::SourceLocation *)
const: Assertion `getValueKind() == VK_RValue' failed.
 0  libLLVMSupport.so 0x000003fffca54618
llvm::sys::PrintStackTrace(_IO_FILE*) + 36
 Stack dump:
 0. Program arguments: /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./clang
-cc1 -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/include
-Wno-array-bounds -analyze
-analyzer-checker=core,alpha.security.ArrayBoundV2 -verify
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Analysis/out-of-bounds.c
 1. /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Analysis/out-of-bounds.c:165:21:
current parser token ';'
 2. /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Analysis/out-of-bounds.c:163:25:
parsing function body 'test_extern_void'
 3. /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Analysis/out-of-bounds.c:163:25:
in compound statement ('{}')
 /home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Analysis/Output/out-of-bounds.c.script:
line 1: 23791 Aborted
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./clang -cc1 -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/include
-Wno-array-bounds -analyze
-analyzer-checker=core,alpha.security.ArrayBoundV2 -verify
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Analysis/out-of-bounds.c

 --

 ********************
 Testing: 0 .
 FAIL: Clang :: CodeGen/2009-07-14-VoidPtr.c (1229 of 16072)
 ******************** TEST 'Clang :: CodeGen/2009-07-14-VoidPtr.c' FAILED
********************
 Script:
 --
 /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./clang -cc1 -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/include
-emit-llvm
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/CodeGen/2009-07-14-VoidPtr.c
-o -
 --
 Exit Code: 134

 Command Output (stderr):
 --
 clang:
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/lib/AST/ExprClassification.cpp:67:
Cl clang::Expr::ClassifyImpl(clang::ASTContext &, clang::SourceLocation *)
const: Assertion `getValueKind() == VK_RValue' failed.
 0  libLLVMSupport.so 0x000003fffcd52618
llvm::sys::PrintStackTrace(_IO_FILE*) + 36
 Stack dump:
 0. Program arguments: /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./clang
-cc1 -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/include
-emit-llvm
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/CodeGen/2009-07-14-VoidPtr.c
-o -
 1. /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/CodeGen/2009-07-14-VoidPtr.c:5:17:
current parser token ';'
 /home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/CodeGen/Output/2009-07-14-VoidPtr.c.script:
line 1: 26020 Aborted
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./clang -cc1 -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/include
-emit-llvm
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/CodeGen/2009-07-14-VoidPtr.c
-o -

 --

 ********************
 Testing: 0 .. 10..
 FAIL: Clang :: Index/TestClassDecl.m (3022 of 16072)
 ******************** TEST 'Clang :: Index/TestClassDecl.m' FAILED
********************
 Script:
 --
 c-index-test -write-pch
/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Index/Output/TestClassDecl.m.tmp.ast
-fobjc-nonfragile-abi -fblocks -x objective-c
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Index/TestClassDecl.m
 c-index-test -test-file-scan
/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Index/Output/TestClassDecl.m.tmp.ast
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Index/TestClassDecl.m |
FileCheck -check-prefix=CHECK-scan
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Index/TestClassDecl.m
 c-index-test -test-load-tu
/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Index/Output/TestClassDecl.m.tmp.ast
local | FileCheck -check-prefix=CHECK-load
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Index/TestClassDecl.m
 --
 Exit Code: 1

 Command Output (stderr):
 --
 /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Index/TestClassDecl.m:24:16:
error: expected string not found in input
 // CHECK-scan: [13:1 - 13:15] FunctionDecl=function:13:6 (Definition)
                ^
 <stdin>:7:1: note: scanning from here
 // CHECK: [13:1 - 13:15] FunctionDecl=function:13:6
 ^
 <stdin>:7:11: note: possible intended match here
 // CHECK: [13:1 - 13:15] FunctionDecl=function:13:6
           ^

 --

 ********************
 Testing: 0 .. 10..
 FAIL: Clang :: Index/TestClassForwardDecl.m (3023 of 16072)
 ******************** TEST 'Clang :: Index/TestClassForwardDecl.m' FAILED
********************
 Script:
 --
 /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./clang -cc1 -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/include
-triple x86_64-apple-darwin10 -fblocks -emit-pch -x objective-c
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Index/TestClassForwardDecl.m
-o
/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Index/Output/TestClassForwardDecl.m.tmp.ast
 c-index-test -test-file-scan
/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Index/Output/TestClassForwardDecl.m.tmp.ast
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Index/TestClassForwardDecl.m
| FileCheck -check-prefix=CHECK-scan
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Index/TestClassForwardDecl.m
 c-index-test -test-load-tu
/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Index/Output/TestClassForwardDecl.m.tmp.ast
local | FileCheck -check-prefix=CHECK-load
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Index/TestClassForwardDecl.m
 --
 Exit Code: 1

 Command Output (stderr):
 --
 /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Index/TestClassForwardDecl.m:19:16:
error: expected string not found in input
 // CHECK-scan: [10:1 - 10:15] FunctionDecl=function:10:6 (Definition)
                ^
 <stdin>:5:1: note: scanning from here
 // CHECK: [10:1 - 10:15] FunctionDecl=function:10:6
 ^
 <stdin>:5:11: note: possible intended match here
 // CHECK: [10:1 - 10:15] FunctionDecl=function:10:6
           ^

 --

 ********************
 Testing: 0 .. 10..
 FAIL: Clang :: Index/c-index-getCursor-test.m (3054 of 16072)
 ******************** TEST 'Clang :: Index/c-index-getCursor-test.m' FAILED
********************
 Script:
 --
 /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./clang -cc1 -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/include
-triple x86_64-apple-darwin10 -fblocks -emit-pch -x objective-c
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Index/c-index-getCursor-test.m
-detailed-preprocessing-record -o
/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Index/Output/c-index-getCursor-test.m.tmp.ast
 c-index-test -test-file-scan
/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Index/Output/c-index-getCursor-test.m.tmp.ast
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Index/c-index-getCursor-test.m
>
/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Index/Output/c-index-getCursor-test.m.tmp
2>&1 && FileCheck
--input-file=/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Index/Output/c-index-getCursor-test.m.tmp
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Index/c-index-getCursor-test.m
 --
 Exit Code: 1

 Command Output (stderr):
 --
 /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Index/c-index-getCursor-test.m:83:11:
error: expected string not found in input
 // CHECK: [23:1 - 24:1] ObjCProtocolDecl=Proto:23:11 (Definition)
           ^
 /home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Index/Output/c-index-getCursor-test.m.tmp:22:1:
note: scanning from here
 // CHECK: [23:1 - 24:1] ObjCProtocolDecl=Proto:23:11
 ^
 /home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Index/Output/c-index-getCursor-test.m.tmp:22:11:
note: possible intended match here
 // CHECK: [23:1 - 24:1] ObjCProtocolDecl=Proto:23:11
           ^

 --

 ********************
 Testing: 0 .. 10.. 20.
 FAIL: Clang :: Sema/deref.c (4270 of 16072)
 ******************** TEST 'Clang :: Sema/deref.c' FAILED
********************
 Script:
 --
 /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./clang -cc1 -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/include
-fsyntax-only -verify -std=c90 -pedantic
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Sema/deref.c
 --
 Exit Code: 134

 Command Output (stderr):
 --
 clang:
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/lib/AST/ExprClassification.cpp:67:
Cl clang::Expr::ClassifyImpl(clang::ASTContext &, clang::SourceLocation *)
const: Assertion `getValueKind() == VK_RValue' failed.
 0  libLLVMSupport.so 0x000003fffcb4c618
llvm::sys::PrintStackTrace(_IO_FILE*) + 36
 Stack dump:
 0. Program arguments: /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./clang
-cc1 -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/include
-fsyntax-only -verify -std=c90 -pedantic
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Sema/deref.c
 1. /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Sema/deref.c:34:14:
current parser token ';'
 2. /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Sema/deref.c:33:1:
parsing function body 'foo5'
 3. /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Sema/deref.c:33:1: in
compound statement ('{}')
 /home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/test/Sema/Output/deref.c.script:
line 1: 43470 Aborted
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./clang -cc1 -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/include
-fsyntax-only -verify -std=c90 -pedantic
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Sema/deref.c

 --

 ********************
 Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
 Testing Time: 85.81s
 ********************
 Failing Tests (7):
     Clang :: Analysis/misc-ps.c
     Clang :: Analysis/out-of-bounds.c
     Clang :: CodeGen/2009-07-14-VoidPtr.c
     Clang :: Index/TestClassDecl.m
     Clang :: Index/TestClassForwardDecl.m
     Clang :: Index/c-index-getCursor-test.m
     Clang :: Sema/deref.c

   Expected Passes    : 10762
   Expected Failures  : 33
   Unsupported Tests  : 5270
   Unexpected Failures: 7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131202/860d0925/attachment.html>


More information about the cfe-dev mailing list