]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/60930 (Wrong folding of - ((unsigned long long) a * (unsigned...
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Fri, 2 May 2014 21:51:09 +0000 (21:51 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Fri, 2 May 2014 21:51:09 +0000 (21:51 +0000)
commitf1bc0583db1f80b752977f6fbfa03783d6b5706e
tree6bb8f8e021322ca93acd82e95344b87ce0c49edf
parent0139170360824bc044440f20d037c7ea67af957a
re PR tree-optimization/60930 (Wrong folding of - ((unsigned long long) a * (unsigned long long) (unsigned int)-1))

[gcc]

2014-05-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/60930
* gimple-ssa-strength-reduction.c (create_mul_imm_cand):  Reject
creating a multiply candidate by folding two constant
multiplicands when the result overflows.

[gcc/testsuite]

2014-05-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/60930
* gcc.dg/torture/pr60930.c:  New test.

From-SVN: r210021
gcc/ChangeLog
gcc/gimple-ssa-strength-reduction.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr60930.c [new file with mode: 0644]