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

Gianfranco Costamagna locutusofborg at debian.org
Fri Oct 7 08:35:01 UTC 2016


Hi,

> 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.
> 

this is not reproducible on 3.8, and on 3.7 is reproducible as said only with O1 and O2

(I expect 3.7 to be removed from unstable in some days)

G.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20161007/5db72e19/attachment.sig>


More information about the Pkg-llvm-team mailing list