diff options
author | Roger Sayle <roger@eyesopen.com> | 2004-04-12 17:28:11 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-04-12 17:28:11 +0000 |
commit | 1e9b78b094572631b2abf3759e4752fe1862cc12 (patch) | |
tree | 8639f921f4775bdce91bf3b169dbbbda56350d26 /gcc/c-semantics.c | |
parent | e0fb1c5c37a5728cc2deb3a98df0c2bf3f1cd109 (diff) | |
download | gcc-1e9b78b094572631b2abf3759e4752fe1862cc12.zip gcc-1e9b78b094572631b2abf3759e4752fe1862cc12.tar.gz gcc-1e9b78b094572631b2abf3759e4752fe1862cc12.tar.bz2 |
simplify-rtx.c (simplify_binary_operation): Remove fall throughs.
* simplify-rtx.c (simplify_binary_operation) <UDIV, DIV, UMOD, MOD>:
Remove fall throughs. Convert 0/x and 0%x into x&0 when x has
side-effects. Don't convert x/1.0 into x if we honor signaling NaNs.
Convert x/-1.0 into -x if we don't honor signaling NaNs. Convert
x/-1 into -x. Optimize x%1 into x&0 if x has side-effects. Optimize
x%-1 into 0 (or x&0 if x has side-effects).
From-SVN: r80625
Diffstat (limited to 'gcc/c-semantics.c')
0 files changed, 0 insertions, 0 deletions