<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 --- - gstreamer causes assert "Wrong topological sorting", function InitDAGTopologicalSorting"
   href="http://llvm.org/bugs/show_bug.cgi?id=15840">15840</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>gstreamer causes assert "Wrong topological sorting", function InitDAGTopologicalSorting
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </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>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dimitry@andric.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=10423" name="attach_10423" title="Testcase for InitDAGTopologicalSorting assertion failure">attachment 10423</a> <a href="attachment.cgi?id=10423&action=edit" title="Testcase for InitDAGTopologicalSorting assertion failure">[details]</a></span>
Testcase for InitDAGTopologicalSorting assertion failure

Reduced testcase attached.  Compiling with "-target i386-unknown-freebsd10 -O2
-c gstatomicqueue-testcase.c" results in:

Assertion failed: (Node2Index[SU->NodeNum] > Node2Index[I->getSUnit()->NodeNum]
&& "Wrong topological sorting"), function InitDAGTopologicalSorting, file
/share/dim/src/llvm/trunk/lib/CodeGen/ScheduleDAG.cpp, line 511.
Stack dump:
0.      Program arguments:
/home/dim/obj/llvm-180108M-trunk-freebsd10-i386-aconf-rel-1/Release+Asserts/bin/clang
-cc1 -triple i386-unknown-freebsd10 -emit-obj -disable-free -main-file-name
gstatomicqueue-testcase.c -mrelocation-model static -mdisable-fp-elim
-masm-verbose -mconstructor-aliases -target-cpu i486 -target-linker-version
2.23.1 -coverage-file
/share/dim/src/llvm/bugs/gstreamer/gstatomicqueue-testcase.o -resource-dir
/home/dim/obj/llvm-180108M-trunk-freebsd10-i386-aconf-rel-1/Release+Asserts/bin/../lib/clang/3.3
-O2 -fdebug-compilation-dir /share/dim/src/llvm/bugs/gstreamer -ferror-limit 19
-fmessage-length 278 -mstackrealign -fobjc-runtime=gnustep
-fobjc-default-synthesize-properties -fdiagnostics-show-option
-fcolor-diagnostics -backend-option -vectorize-loops -o
gstatomicqueue-testcase.o -x c gstatomicqueue-testcase.c
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'gstatomicqueue-testcase.c'.
4.      Running pass 'X86 DAG->DAG Instruction Selection' on function
'@gst_atomic_queue_push'
clang: error: unable to execute command: Abort trap (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.3 (trunk 180108)
Target: i386-unknown-freebsd10
Thread model: posix</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>