<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 --- - clang Fast Register Allocator crashes"
   href="http://llvm.org/bugs/show_bug.cgi?id=20171">20171</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang Fast Register Allocator crashes
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>release blocker
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>LLVM Codegen
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>ihholmes@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=12725" name="attach_12725" title="C source file">attachment 12725</a> <a href="attachment.cgi?id=12725&action=edit" title="C source file">[details]</a></span>
C source file

Clang version 5.1
XCode 5.1.1 running on OS X Mavericks, compiling to iOS 7.1


Reproducible usage (sorry I haven't been able to trim this down)

clang -cc1 -triple arm64-apple-ios7.0.0 -Wdeprecated-objc-isa-usage
-Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration
-emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name
board.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose
-target-abi darwinpcs -target-cpu cyclone -target-linker-version 236.3
-gdwarf-2 -D "DEBUG=1" -D "SEXP_USE_DL=0" -D "SEXP_USE_STATIC_LIBS" -D
"SEXP_64_BIT" -O0 -Wno-trigraphs -Wno-missing-field-initializers
-Wno-missing-prototypes -Wno-missing-braces -Wparentheses -Wswitch
-Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable
-Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow
-Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion
-Wno-bool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign
-Wno-newline-eof -Wdeprecated-declarations -Wno-sign-conversion -std=gnu99
-ferror-limit 19 -fmacro-backtrace-limit 0 -fmessage-length 0 -stack-protector
1 -mstackrealign -fblocks -fobjc-runtime=ios-7.0.0
-fencode-extended-block-signature -fpascal-strings -fdiagnostics-show-option
-fdiagnostics-show-note-include-stack -vectorize-slp -x c bug.c



Output:

1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module 'bug.c'.
4.    Running pass 'Fast Register Allocator' on function
'@boardAttemptFunctionRule'
Segmentation fault</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>