<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 --- - ppc32 C compiler aborts with unreachable executed compiling last vlc"
   href="http://llvm.org/bugs/show_bug.cgi?id=18337">18337</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ppc32 C compiler aborts with unreachable executed compiling last vlc
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.3
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </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>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>luciano@mannucci.org
          </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=11787" name="attach_11787" title="Preprocessed source">attachment 11787</a> <a href="attachment.cgi?id=11787&action=edit" title="Preprocessed source">[details]</a></span>
Preprocessed source

here is the stack dump:
UNREACHABLE executed at
/usr/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1451!
Stack dump:
0.    Program arguments: /usr/bin/clang -cc1 -triple powerpc-unknown-freebsd9.2
-S -disable-free -main-file-name subtitles.c -mrelocation-model pic -pic-level
2 -relaxed-aliasing -mconstructor-aliases -target-cpu ppc -target-feature
+altivec -coverage-file /tmp/subtitles-uGZ0sq.s -resource-dir
/usr/bin/../lib/clang/3.3 -dependency-file input/.deps/subtitles.Tpo
-sys-header-deps -MP -MT input/subtitles.lo -D HAVE_CONFIG_H -D
MODULE_STRING="main" -D LOCALEDIR="/usr/local/share/locale" -D
PKGDATADIR="/usr/local/share/vlc" -D PKGLIBDIR="/usr/local/lib/vlc" -D
HAVE_DYNAMIC_PLUGINS -D HAVE_DBUS -D PIC -I . -I .. -I /usr/local/include -I
../include -I ../include -I /usr/ports/multimedia/vlc/work/vlc-2.1.2/include -I
/usr/local/include/dirac -I /usr/local/include/speex -I /usr/local/include -I
/usr/local/include/dbus-1.0 -I /usr/local/include/dbus-1.0/include -O2 -Wall
-Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast
-Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var
-Werror-implicit-function-declaration -std=gnu99 -fconst-strings
-fno-dwarf-directory-asm -fdebug-compilation-dir
/usr/ports/multimedia/vlc/work/vlc-2.1.2/src -ferror-limit 19 -fmessage-length
80 -fvisibility hidden -faltivec -pthread -mstackrealign -fno-signed-char
-fobjc-runtime=gnustep -fobjc-default-synthesize-properties
-fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops
-o /tmp/subtitles-uGZ0sq.s -x c input/subtitles.c 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module 'input/subtitles.c'.
4.    Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function
'@subtitles_Detect'
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: powerpc-unknown-freebsd9.2
Thread model: posix

and the run script:
/usr/bin/clang -cc1 -triple powerpc-unknown-freebsd9.2 -S -disable-free
-main-file-name subtitles.c -mrelocation-model pic -pic-level 2
-relaxed-aliasing -mconstructor-aliases -target-cpu ppc -target-feature
+altivec -sys-header-deps -D "HAVE_CONFIG_H" -D ""MODULE_STRING=\"main\""" -D
""LOCALEDIR=\"/usr/local/share/locale\""" -D
""PKGDATADIR=\"/usr/local/share/vlc\""" -D ""PKGLIBDIR=\"/usr/local/lib/vlc\"""
-D "HAVE_DYNAMIC_PLUGINS" -D "HAVE_DBUS" -D "PIC" -O2 -Wall -Wextra
-Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings
-Wmissing-prototypes -Wvolatile-register-var
-Werror-implicit-function-declaration -std=gnu99 -fconst-strings
-fno-dwarf-directory-asm -ferror-limit 19 -fmessage-length 80 -fvisibility
hidden -faltivec -pthread -mstackrealign -fno-signed-char
-fobjc-runtime=gnustep -fobjc-default-synthesize-properties
-fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops
-x c subtitles-wCwNW0.c</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>