[llvm-bugs] [Bug 28908] New: error: ran out of registers during register allocation

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 8 15:02:33 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28908

            Bug ID: 28908
           Summary: error: ran out of registers during register allocation
           Product: clang
           Version: trunk
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sbruno at freebsd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16914
  --> https://llvm.org/bugs/attachment.cgi?id=16914&action=edit
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
http://llvm.org/bugs/ 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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160808/457c9e3b/attachment.html>


More information about the llvm-bugs mailing list