<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 --- - [not-a-bug, powerpc-darwin8] bad_alloc during assembly of RecursiveASTVisitorTest.cpp"
   href="http://llvm.org/bugs/show_bug.cgi?id=15825">15825</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[not-a-bug, powerpc-darwin8] bad_alloc during assembly of RecursiveASTVisitorTest.cpp
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Test Suite
          </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>Programs Tests
          </td>
        </tr>

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

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

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This is not a bug, but should be documented.
On powerpc-darwin8, RecursiveASTVisitorTest causes the system assembler to
bad_alloc/out-of-memory.
System compiler is apple-gcc-4.0.1, and assembler is Apple's GNU as 1.38.
This did not occur before r179583, and was first observed r180052.

[ 88%] Building CXX object
tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTest.cpp.o
cd
/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/tools/clang/unittests/Tooling
&& /Users/fang/local/bin/ccg++   -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_REWRITER
-DCLANG_ENABLE_STATIC_ANALYZER -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-fno-common -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter
-Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-uninitialized -Wnon-virtual-dtor -fno-common -Woverloaded-virtual
-Wcast-qual -fno-strict-aliasing -g
-I/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/tools/clang/unittests/Tooling
-I/Users/fang/local/src/LLVM-svn/llvm/tools/clang/unittests/Tooling
-I/Users/fang/local/src/LLVM-svn/llvm/tools/clang/include
-I/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/tools/clang/include
-I/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/include
-I/Users/fang/local/src/LLVM-svn/llvm/include
-I/Users/fang/local/src/LLVM-svn/llvm/utils/unittest/googletest/include   
-fno-exceptions  -fno-rtti -Wno-variadic-macros -o
CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTest.cpp.o -c
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/unittests/Tooling/RecursiveASTVisitorTest.cpp
as(20706) malloc: *** vm_allocate(size=2147487744) failed (error code=3)
as(20706) malloc: *** error: can't allocate region
as(20706) malloc: *** set a breakpoint in szone_error to debug
/var/tmp//ccxE0lI4.s:34316:FATAL:virtual memory exceeded
make[3]: ***
[tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTest.cpp.o]
Error 1

This will need to be diagnosed and worked around, I'm afraid.
I cannot resume check-clang without a workaround or fix.</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>