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: unassignedb...@nondot.org
Reporter: ahata...@gmail.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs