<html>
    <head>
      <base href="https://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 --- - error: ran out of registers during register allocation"
   href="https://llvm.org/bugs/show_bug.cgi?id=28908">28908</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>error: ran out of registers during register allocation
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>sbruno@freebsd.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16914" name="attach_16914" title="Crash files from clang.">attachment 16914</a> <a href="attachment.cgi?id=16914&action=edit" title="Crash files from clang.">[details]</a></span>
Crash files from clang.

/home/sbruno/clang/build/bin/clang -Wno-typedef-redefinition -Wno-pointer-sign
-Wno-expansion-to-defined -v -target mips64-unknown-freebsd12.0
--sysroot=/scratch/tmp/sbruno/mips.mips64/home/sb
runo/mips64-clang/tmp
-B/scratch/tmp/sbruno/mips.mips64/home/sbruno/mips64-clang/tmp/usr/bin -O -pipe
-G0   -DHAVE_FENV_H -O0 -DLDBL_PREC=53 -g -MD  -MF.depend.cexp_test.cexp_test.o
-MTcexp_te
st.o -std=iso9899:1999 -Wno-unknown-pragmas   -Qunused-arguments  -c
/home/sbruno/mips64-clang/lib/msun/tests/cexp_test.c -o cexp_test.o
clang version 4.0.0 (trunk 278018)
Target: mips64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /home/sbruno/clang/build/bin
 "/home/sbruno/clang/build/bin/clang-3.9" -cc1 -triple
mips64-unknown-freebsd12.0 -emit-obj -mrelax-all -disable-free -main-file-name
cexp_test.c -mrelocation-model static -mthread-model posix
 -mdisable-fp-elim -masm-verbose -mconstructor-aliases -target-cpu mips64r2
-target-abi n64 -mfloat-abi hard -mllvm -mips-ssection-threshold=0 -v
-dwarf-column-info -debug-info-kind=standalone
 -dwarf-version=2 -debugger-tuning=gdb -coverage-file
/scratch/tmp/sbruno/mips.mips64/home/sbruno/mips64-clang/lib/msun/tests/cexp_test.o
-resource-dir /home/sbruno/clang/build/bin/../lib/clan
g/4.0.0 -dependency-file .depend.cexp_test.cexp_test.o -sys-header-deps -MT
cexp_test.o -D HAVE_FENV_H -D LDBL_PREC=53 -isysroot
/scratch/tmp/sbruno/mips.mips64/home/sbruno/mips64-clang/tmp -O
0 -Wno-typedef-redefinition -Wno-pointer-sign -Wno-expansion-to-defined
-Wno-unknown-pragmas -std=iso9899:1999 -fdebug-compilation-dir
/scratch/tmp/sbruno/mips.mips64/home/sbruno/mips64-clang/
lib/msun/tests -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gnustep
-fdiagnostics-show-option -o cexp_test.o -x c
/home/sbruno/mips64-clang/lib/msun/tests/cexp_test.c
clang -cc1 version 4.0.0 based upon LLVM 4.0.0svn default target
x86_64-unknown-freebsd11.0
#include "..." search starts here:
#include <...> search starts here:
 /home/sbruno/clang/build/bin/../lib/clang/4.0.0/include
 /scratch/tmp/sbruno/mips.mips64/home/sbruno/mips64-clang/tmp/usr/include
End of search list.
error: ran out of registers during register allocation
Assertion failed: (RegNo < NumRegs && "Attempting to access record for invalid
register number!"), function operator[], file
/home/sbruno/clang/llvm/include/llvm/MC/MCRegisterInfo.h, line 330.
clang-3.9: error: unable to execute command: Abort trap (core dumped)
clang-3.9: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 4.0.0 (trunk 278018)
Target: mips64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /home/sbruno/clang/build/bin
clang-3.9: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-3.9: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.9: note: diagnostic msg: /tmp/cexp_test-7eccf2.c
clang-3.9: note: diagnostic msg: /tmp/cexp_test-7eccf2.sh
clang-3.9: note: diagnostic msg: 

********************
*** Error code 254</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>