aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.0/gcc/combine.c
diff options
context:
space:
mode:
authorJing Yu <jingyu@google.com>2010-04-24 20:30:19 -0700
committerJing Yu <jingyu@google.com>2010-04-24 20:30:19 -0700
commitc2511ac51c9e6e6b8cd9900d6159d46718414012 (patch)
tree4f2d2810af6bf0b726c6f375258aab47ea9d8233 /gcc-4.4.0/gcc/combine.c
parent2c20a1914acb75c3c654893a490b96b2df2edc7a (diff)
downloadtoolchain_gcc-c2511ac51c9e6e6b8cd9900d6159d46718414012.tar.gz
toolchain_gcc-c2511ac51c9e6e6b8cd9900d6159d46718414012.tar.bz2
toolchain_gcc-c2511ac51c9e6e6b8cd9900d6159d46718414012.zip
Fix a few divergence bugs and security problem.
See README.google for details. Change-Id: Ifbee6d934426a60f34c7301a04fc442c6c75df22
Diffstat (limited to 'gcc-4.4.0/gcc/combine.c')
-rw-r--r--gcc-4.4.0/gcc/combine.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc-4.4.0/gcc/combine.c b/gcc-4.4.0/gcc/combine.c
index 48ec81c44..3b32ee757 100644
--- a/gcc-4.4.0/gcc/combine.c
+++ b/gcc-4.4.0/gcc/combine.c
@@ -8516,11 +8516,11 @@ distribute_and_simplify_rtx (rtx x, int n)
enum rtx_code outer_code, inner_code;
rtx decomposed, distributed, inner_op0, inner_op1, new_op0, new_op1, tmp;
- /* Distributivity is not true for floating point as it can change the
- value. So we don't do it unless -funsafe-math-optimizations. */
- if (FLOAT_MODE_P (GET_MODE (x))
- && ! flag_unsafe_math_optimizations)
- return NULL_RTX;
+ /* Distributivity is not true for floating point as it can change the
+ value. So we don't do it unless -funsafe-math-optimizations. */
+ if (FLOAT_MODE_P (GET_MODE (x))
+ && ! flag_unsafe_math_optimizations)
+ return NULL_RTX;
decomposed = XEXP (x, n);
if (!ARITHMETIC_P (decomposed))