diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2014-05-11 20:21:55 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2014-05-11 20:21:55 +0000 |
commit | 7588d8aae498ba0a9643858555ac44e97877d5cf (patch) | |
tree | f88d70058c21ad014fce2e4b84fb2175d6e96fdf /gcc/tree.c | |
parent | a9fe68774e1d00071bb528d40f1bc2caf61c2e39 (diff) | |
download | gcc-7588d8aae498ba0a9643858555ac44e97877d5cf.zip gcc-7588d8aae498ba0a9643858555ac44e97877d5cf.tar.gz gcc-7588d8aae498ba0a9643858555ac44e97877d5cf.tar.bz2 |
re PR c/61136 (ice in tree_nop_conversion)
gcc/
PR tree-optimization/61136
* wide-int.h (multiple_of_p): Define a version that doesn't return
the quotient.
* fold-const.c (extract_muldiv_1): Use wi::multiple_of_p instead of an
integer_zerop/const_binop pair.
(multiple_of_p): Likewise, converting both operands to widest_int
precision.
gcc/testsuite/
* gcc.dg/torture/pr61136.c: New test.
From-SVN: r210312
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions