aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2018-08-28 17:09:57 -0600
committerJeff Law <law@gcc.gnu.org>2018-08-28 17:09:57 -0600
commit78e93935ef26d2d5d9581aed7bae63309090e3e0 (patch)
treee93bb508e250004dcc248ddfb8e9cf464c5f5669 /gcc/fold-const.c
parentd0794d14de24117e0bfd1d9391059a76459f2f87 (diff)
downloadgcc-78e93935ef26d2d5d9581aed7bae63309090e3e0.zip
gcc-78e93935ef26d2d5d9581aed7bae63309090e3e0.tar.gz
gcc-78e93935ef26d2d5d9581aed7bae63309090e3e0.tar.bz2
* fold-const.c (fold_binary_loc): Remove recently added assert.
From-SVN: r263936
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 63e15f0..68bd64f 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -9326,14 +9326,6 @@ fold_binary_loc (location_t loc, enum tree_code code, tree type,
if (kind == tcc_comparison || code == MIN_EXPR || code == MAX_EXPR)
{
- if (code == MIN_EXPR || code == MAX_EXPR)
- {
- tree typ0 = TREE_TYPE (arg0);
- tree typ1 = TREE_TYPE (arg1);
- gcc_assert (TYPE_SIGN (typ0) == TYPE_SIGN (typ1)
- && TYPE_MODE (typ0) == TYPE_MODE (typ1));
- }
-
STRIP_SIGN_NOPS (arg0);
STRIP_SIGN_NOPS (arg1);
}