Issue 104738
Summary clang integer complex divide algorithm is wrong
Labels clang:frontend
Assignees
Reporter efriedma-quic
    Consider the following (taken from #104666):

```
constexpr auto GH55390 = 1 / 65536j;
```

Current clang prints a divide by zero message... but that's nonsense: the denominator isn't zero.  We should be able to evaluate this without overflow.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to