<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [powerpc-darwin8] ARCMT/objcmt-numeric-literals.m test failing (old)"
   href="http://llvm.org/bugs/show_bug.cgi?id=20727">20727</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[powerpc-darwin8] ARCMT/objcmt-numeric-literals.m test failing (old)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fang@csl.cornell.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>iains-llvm@btconnect.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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;
 }</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>