<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 --- - llc segfault in pass "Merge disjoint stack slots""
   href="http://llvm.org/bugs/show_bug.cgi?id=17642">17642</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llc segfault in pass "Merge disjoint stack slots"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </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>Common Code Generator Code
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>writalnaie@gmail.com
          </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>Created <span class=""><a href="attachment.cgi?id=11401" name="attach_11401" title="the llvm bitcode of benchkissu.ll">attachment 11401</a> <a href="attachment.cgi?id=11401&action=edit" title="the llvm bitcode of benchkissu.ll">[details]</a></span>
the llvm bitcode of benchkissu.ll

llc segfault in pass "Merge disjoint stack slots". The call stack:

llc: StackColoring.cpp:331: void
{anonymous}::StackColoring::calculateLocalLiveness(): Assertion `I !=
BlockLiveness.end() && "Predecessor not found"' failed.
0  llc       0x08e41fef llvm::sys::PrintStackTrace(_IO_FILE*) + 47
1  llc       0x08e4224f
2  llc       0x08e41c2c
3            0xb7735400 __kernel_sigreturn + 0
4            0xb7735424 __kernel_vsyscall + 16
5  libc.so.6 0xb7431b1f gsignal + 79
6  libc.so.6 0xb74350b3 abort + 323
7  libc.so.6 0xb742a877
8  libc.so.6 0xb742a927
9  llc       0x08a6500b
10 llc       0x08a6c244
11 llc       0x0897beb2
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 194
12 llc       0x08dc85dc llvm::FPPassManager::runOnFunction(llvm::Function&) +
796
13 llc       0x08dc8628 llvm::FPPassManager::runOnModule(llvm::Module&) + 56
14 llc       0x08dc8184 llvm::MPPassManager::runOnModule(llvm::Module&) + 676
15 llc       0x08dca0b3 llvm::PassManagerImpl::run(llvm::Module&) + 243
16 llc       0x08dca1b6 llvm::PassManager::run(llvm::Module&) + 38
17 llc       0x081c1154
18 llc       0x081ae01f main + 383
19 libc.so.6 0xb741c935 __libc_start_main + 245
20 llc       0x081bd839
Stack dump:
0.    Program arguments: llc -O3 benchkissu.ll 
1.    Running pass 'Function Pass Manager' on module 'benchkissu.ll'.
2.    Running pass 'Merge disjoint stack slots' on function '@main'
Aborted (core dumped)

It's in LLVM-3.3's released source code. The configuration includes only
"--enable-libffi". It segfaults when

$ llc -O3 benchkissu.ll</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>