https://bugs.llvm.org/show_bug.cgi?id=43233
Bug ID: 43233
Summary: Clang crash on std::pow(n, -0.0)
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: unassignedclangb...@nondot.org
Reporter: zamazan...@tut.by
CC: blitzrak...@gmail.com, dgre...@apple.com,
erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
richard-l...@metafoo.co.uk
For the code:
#include <cmath>
double t1(double n) {
return std::pow(n, -0.0);
}
clang (trunk, 8.0) crashes with the follworing message:
https://pastebin.com/w7nVhwtu
clang 7.0 and below works fine.
Godbolt playground: https://godbolt.org/z/aRbTH0
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs