Clang++ crashes with several source files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clang (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This source file crashes clang++:
#include <iostream>
int main(int argc, char** argv)
{
std::cout << std::__lg(10) << std::endl;
}
with message:
fatal error: error in backend: Cannot select: 0x30d4080: i32 = fcos 0x30d4280 [ORD=1] [ID=4]
0x30d4280: i32,ch = CopyFromReg 0x30bc310, 0x30d3e80 [ORD=1] [ID=3]
0x30d3e80: i32 = Register %vreg10 [ORD=1] [ID=1]
In function: _ZSt4__lgi
I get this error several times in my (closed) sources and could reduce it to the above. Another similar error from my original sources:
fatal error: error in backend: Cannot select: 0x5fab1c0: i64 = fcos 0x5faa2b0 [ORD=738] [ID=4]
dbg:
0x5faa2b0: i64,ch = CopyFromReg 0x4b891a0, 0x5fab8c0 [ORD=738] [ID=3] dbg:/usr/
0x5fab8c0: i64 = Register %vreg10 [ORD=738] [ID=1]
In function: _ZSt4__lgl
Package version: 3.2-1~exp5ubuntu2
Status changed to 'Confirmed' because the bug affects multiple users.