diff options
author | Andrew Macleod <amacleod@gcc.gnu.org> | 2019-05-08 03:05:30 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2019-05-08 03:05:30 +0000 |
commit | e40abc4dda1d22500d9e2e99fab413c60d99dfb1 (patch) | |
tree | 8bfcfa9fb6b392839bb92e275e331c182ed2b7c9 /gcc/tree-ssa-loop-prefetch.c | |
parent | 4c2213aafd61054eceb71cb631bd5cb8d48f5963 (diff) | |
download | gcc-e40abc4dda1d22500d9e2e99fab413c60d99dfb1.zip gcc-e40abc4dda1d22500d9e2e99fab413c60d99dfb1.tar.gz gcc-e40abc4dda1d22500d9e2e99fab413c60d99dfb1.tar.bz2 |
Fix rvrp-abs-3 which recognizes that the IMAGPART_EXPR result of an builtin ADD/SUB overflow call is actully a boolean flag.. so its range is [0,1].
tweaked the op_cast routine to handle this better by FIRSt trying the cast rhs to lhs and back trick if that fails,then we look at the weird masking of -1. obscure enough? lookit the code.
p-This line, and those below, will be ignored--
M gcc/range-op.c
M gcc/ssa-range-gori.h
M gcc/ssa-range.cc
M gcc/ssa-range.h
M gcc/testsuite/gcc.dg/tree-ssa/rvrp-abs-3.c
From-SVN: r270998
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
0 files changed, 0 insertions, 0 deletions