[llvm-bugs] [Bug 34862] New: clang crashes compiling "volatile long double resld = __builtin_canonicalizel(LD)"
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Oct 6 10:22:27 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34862
Bug ID: 34862
Summary: clang crashes compiling "volatile long double resld =
__builtin_canonicalizel(LD)"
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: ahatanak at gmail.com
CC: llvm-bugs at lists.llvm.org
clang crashes when compiling the following code:
$ cat canon-crash.c
void test_float_builtin_ops(long double LD) {
volatile long double resld = __builtin_canonicalizel(LD);
}
$ clang canon-crash.c -Os -o - -S
fatal error: error in backend: Cannot select: t7: f80 = fcanonicalize t3
t3: f80,ch = load<LD10[FixedStack-1](align=16)> t0, FrameIndex:i64<-1>,
undef:i64
t1: i64 = FrameIndex<-1>
t2: i64 = undef
In function: test_float_builtin_ops
--
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/20171006/a4e06416/attachment.html>
More information about the llvm-bugs
mailing list