[LLVMbugs] [Bug 20727] New: [powerpc-darwin8] ARCMT/objcmt-numeric-literals.m test failing (old)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 21 11:28:27 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20727

            Bug ID: 20727
           Summary: [powerpc-darwin8] ARCMT/objcmt-numeric-literals.m test
                    failing (old)
           Product: clang
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: fang at csl.cornell.edu
                CC: iains-llvm at btconnect.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

This test has been failing for as long as I can remember on powerpc-darwin8.

-- Testing: 1 tests, 1 threads --
FAIL: Clang :: ARCMT/objcmt-numeric-literals.m (1 of 1)
******************** TEST 'Clang :: ARCMT/objcmt-numeric-literals.m' FAILED
********************
Script:
--
gtimeout 1m  rm -rf
/Volumes/Isolde/builds/LLVM/clang34-stage1-build/tools/clang/test/ARCMT/Output/objcmt-numeric-literals.m.tmp
gtimeout 1m  /Users/fang/local/src/LLVM-svn/clang34-stage1-build/./bin/clang
-cc1 -internal-isystem
/Volumes/Isolde/builds/LLVM/clang34-stage1-build/bin/../lib/clang/3.6.0/include
-objcmt-migrate-literals -objcmt-migrate-subscripting -mt-migrate-directory
/Volumes/Isolde/builds/LLVM/clang34-stage1-build/tools/clang/test/ARCMT/Output/objcmt-numeric-literals.m.tmp
/Volumes/Isolde/sources/LLVM-svn/clang.git/test/ARCMT/objcmt-numeric-literals.m
-x objective-c++
gtimeout 1m  c-arcmt-test -mt-migrate-directory
/Volumes/Isolde/builds/LLVM/clang34-stage1-build/tools/clang/test/ARCMT/Output/objcmt-numeric-literals.m.tmp
| arcmt-test -verify-transformed-files
/Volumes/Isolde/sources/LLVM-svn/clang.git/test/ARCMT/objcmt-numeric-literals.m.result
gtimeout 1m  /Users/fang/local/src/LLVM-svn/clang34-stage1-build/./bin/clang
-cc1 -internal-isystem
/Volumes/Isolde/builds/LLVM/clang34-stage1-build/bin/../lib/clang/3.6.0/include
-triple x86_64-apple-darwin10 -fsyntax-only -x objective-c++
/Volumes/Isolde/sources/LLVM-svn/clang.git/test/ARCMT/objcmt-numeric-literals.m.result
--
Exit Code: 1

Command Output (stderr):
--
/Volumes/Isolde/sources/LLVM-svn/clang.git/test/ARCMT/objcmt-numeric-literals.m:62:3:
warning: converting to boxing syntax requires casting 'int' to 'char'
  [NSNumber numberWithChar:2];
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Isolde/sources/LLVM-svn/clang.git/test/ARCMT/objcmt-numeric-literals.m:63:3:
warning: converting to boxing syntax requires casting 'unsigned int' to 'char'
  [NSNumber numberWithChar:2U];
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Isolde/sources/LLVM-svn/clang.git/test/ARCMT/objcmt-numeric-literals.m:64:3:
warning: converting to boxing syntax requires casting 'unsigned int' to 'char'
  [NSNumber numberWithChar:2u];
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Isolde/sources/LLVM-svn/clang.git/test/c:65:3: warning: converting to
boxing syntax requires casting 'long' to 'char'
  [NSNumber numberWithChar:2L];
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Isolde/sources/LLVM-svn/clang.git/test/ARCMT/objcmt-numeric-literals.m:66:3:
warning: converting to boxing syntax requires casting 'long' to 'char'
  [NSNumber numberWithChar:2l];
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Isolde/sources/LLVM-svn/clang.git/test/ARCMT/objcmt-numeric-literals.m:67:3:
warning: converting to boxing syntax requires casting 'long long' to 'char'
  [NSNumber numberWithChar:2LL];
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Isolde/sources/LLVM-svn/clang.git/test/ARCMT/objcmt-numeric-literals.m:68:3:
warning: converting to boxing syntax requires casting 'long long' to 'char'
  [NSNumber numberWithChar:2ll];
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Isolde/sources/LLVM-svn/clang.git/test/ARCMT/objcmt-numeric-literals.m:69:3:
warning: converting to boxing syntax requires casting 'unsigned long' to 'char'
  [NSNumber numberWithChar:2ul];
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
... 100s more lines of similar warnings ...
247 warnings generated.
error:
'/Volumes/Isolde/sources/LLVM-svn/clang.git/test/ARCMT/objcmt-numeric-literals.m.result'
is different than '/var/tmp/objcmt-numeric-literals.m-427294..m'

--

********************
Testing Time: 11.77s
********************
Failing Tests (1):
    Clang :: ARCMT/objcmt-numeric-literals.m

  Unexpected Failures: 1


A look at the diff shows:
% diff -u
'/Volumes/Isolde/sources/LLVM-svn/clang.git/test/ARCMT/objcmt-numeric-literals.m.result'
/var/tmp/objcmt-numeric-literals.m-427294..m
---
/Volumes/Isolde/sources/LLVM-svn/clang.git/test/ARCMT/objcmt-numeric-literals.m.result
     2013-03-02 01:02:26.000000000 -0800
+++ /var/tmp/objcmt-numeric-literals.m-427294..m        2014-08-21
11:27:15.000000000 -0700
@@ -495,8 +495,8 @@
   [NSNumber numberWithUnsignedInteger:0.0];
   [NSNumber numberWithUnsignedInteger:YES];
   [NSNumber numberWithUnsignedInteger:NO];
-  [NSNumber numberWithUnsignedInteger:true];
-  [NSNumber numberWithUnsignedInteger:false];
+  @(true);
+  @(false);
   [NSNumber numberWithUnsignedInteger:VAL_INT];
   @VAL_UINT;
 }

-- 
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/20140821/c3bbd1ee/attachment.html>


More information about the llvm-bugs mailing list