[llvm-bugs] [Bug 27176] New: mregparm=3 causes 'ran out of registers during register allocation'
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Apr 1 04:32:36 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27176
Bug ID: 27176
Summary: mregparm=3 causes 'ran out of registers during
register allocation'
Product: clang
Version: 3.8
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: js at alien8.de
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 16146
--> https://llvm.org/bugs/attachment.cgi?id=16146&action=edit
Preprocessed source that triggers the error
With the attached source the command below triggers a fatal error in clang (ran
out of registers during register allocation). This was reproduced using clang
3.7 from Fedora 23 and clang 3.8 (Fedora 23 x86_64) from
http://llvm.org/releases/download.html
% clang++ -mregparm=3 -m32 -std=c++11 -O1 -c crash.cpp
fatal error: error in backend: ran out of registers during register allocation
clang-3.8: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.8.0 (tags/RELEASE_380/final)
Target: i386-unknown-linux-gnu
Thread model: posix
InstalledDir: /tmp/clang+llvm-3.8.0-x86_64-fedora23/bin
clang-3.8: 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.8: 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.8: note: diagnostic msg: /tmp/crash-10f03c.cpp
clang-3.8: note: diagnostic msg: /tmp/crash-10f03c.sh
clang-3.8: note: diagnostic msg:
--
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/20160401/2bd50b58/attachment-0001.html>
More information about the llvm-bugs
mailing list