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: unassignedclangb...@nondot.org Reporter: j...@alien8.de CC: dgre...@apple.com, llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs