aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2013-12-04 14:57:52 -0700
committerJeff Law <law@gcc.gnu.org>2013-12-04 14:57:52 -0700
commit59b6687cceaf95d8c49afee88248cf4fb0a33105 (patch)
tree109d2ff2fc28995dc358d52c73194ed217517db7 /gcc/expr.c
parentff6c0ead2a3561670c7b2f035eeecd6e23a75b56 (diff)
downloadgcc-59b6687cceaf95d8c49afee88248cf4fb0a33105.zip
gcc-59b6687cceaf95d8c49afee88248cf4fb0a33105.tar.gz
gcc-59b6687cceaf95d8c49afee88248cf4fb0a33105.tar.bz2
* expr.c (expand_assignment): Update comments.
From-SVN: r205683
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 4e0e54f..2a13d8f 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -4869,8 +4869,8 @@ expand_assignment (tree to, tree from, bool nontemporal)
if (GET_MODE (offset_rtx) != address_mode)
offset_rtx = convert_to_mode (address_mode, offset_rtx, 0);
- /* A constant address in TO_RTX can have VOIDmode, we must not try
- to call force_reg for that case. Avoid that case. */
+ /* The check for a constant address in TO_RTX not having VOIDmode
+ is probably no longer necessary. */
if (MEM_P (to_rtx)
&& GET_MODE (to_rtx) == BLKmode
&& GET_MODE (XEXP (to_rtx, 0)) != VOIDmode
@@ -10062,8 +10062,8 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode,
offset_rtx = convert_to_mode (address_mode, offset_rtx, 0);
if (GET_MODE (op0) == BLKmode
- /* A constant address in OP0 can have VOIDmode, we must
- not try to call force_reg in that case. */
+ /* The check for a constant address in OP0 not having VOIDmode
+ is probably no longer necessary. */
&& GET_MODE (XEXP (op0, 0)) != VOIDmode
&& bitsize != 0
&& (bitpos % bitsize) == 0