Bug#787217: clang++-3.7 generates wrong code with -O1 or -O2

Thibaut Paumard thibaut at debian.org
Wed Jun 3 06:33:29 UTC 2015


Control: retitle -1 llvm/clang assume it's safe to divide by 0

Le 30/05/2015 14:29, Thibaut Paumard a écrit :
> Reported upstream:
> https://llvm.org/bugs/show_bug.cgi?id=23707

>From upstream's answer, it appears that clangs optimizers may reorganize
the code under the assumption that it's safe to divide by 0, i.e. that
the code will only run under the default floating-point environment.

Regards, Thibaut.



More information about the Pkg-llvm-team mailing list