aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2018-02-09 09:50:14 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2018-02-09 09:50:14 +0000
commit8ed6f54304aac6a08b6d14663cbe46e3c47ce25e (patch)
treedabeb0d8389d262450e1347b2bfefaf345be8de2 /gcc/expr.c
parentcc17f338264be226e2349254cd8db9a35632d2bf (diff)
downloadgcc-8ed6f54304aac6a08b6d14663cbe46e3c47ce25e.zip
gcc-8ed6f54304aac6a08b6d14663cbe46e3c47ce25e.tar.gz
gcc-8ed6f54304aac6a08b6d14663cbe46e3c47ce25e.tar.bz2
* expr.c (optimize_bitfield_assignment_op): Remove obsolete assertion.
From-SVN: r257519
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 36a6c72..876883e 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -4726,8 +4726,6 @@ optimize_bitfield_assignment_op (poly_uint64 pbitsize,
}
else if (!REG_P (str_rtx) && GET_CODE (str_rtx) != SUBREG)
return false;
- else
- gcc_assert (!reverse);
/* If the bit field covers the whole REG/MEM, store_field
will likely generate better code. */