re PR tree-optimization/65170 (curve25519-donna-c64 miscompilation)
authorJakub Jelinek <jakub@redhat.com>
Tue, 24 Feb 2015 08:07:10 +0000 (09:07 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 24 Feb 2015 08:07:10 +0000 (09:07 +0100)
commit09901e8a732081950e0091b7d188ef8e4d609ef0
tree5e91765b4416adf1f124fe1032b9124c5006a1b4
parentd130cf43923325219ffbedb7ab302b1a6927efb6
re PR tree-optimization/65170 (curve25519-donna-c64 miscompilation)

PR tree-optimization/65170
* wide-int.cc (wi::mul_internal): For the umul_ppmm optimization,
if val[1] < 0, clear also val[2] and return 3.

* gcc.c-torture/execute/pr65170.c: New test.
* gcc.dg/tree-ssa/vrp96.c: New test.

From-SVN: r220931
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr65170.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/vrp96.c [new file with mode: 0644]
gcc/wide-int.cc
libsanitizer/ChangeLog