Commit 9a7b9f4f by Jeffrey A Law Committed by Jeff Law

expr.c (expand_assignment): Do not try to optimize a aggregate address which has VOIDmode.

        * expr.c (expand_assignment): Do not try to optimize a aggregate
        address which has VOIDmode.

From-SVN: r25934
parent 8ebf19db
Tue Mar 23 23:32:14 1999 Jeffrey A Law (law@cygnus.com)
* expr.c (expand_assignment): Do not try to optimize a aggregate
address which has VOIDmode.
Tue Mar 23 22:51:48 1999 Mumit Khan <khan@xraylith.wisc.edu>
Donn Terry <donn@interix.com>
......
......@@ -3276,8 +3276,11 @@ expand_assignment (to, from, want_value, suggest_reg)
#endif
}
/* A constant address in TO_RTX can have VOIDmode, we must not try
to call force_reg for that case. Avoid that case. */
if (GET_CODE (to_rtx) == MEM
&& GET_MODE (to_rtx) == BLKmode
&& GET_MODE (XEXP (to_rtx, 0)) != VOIDmode
&& bitsize
&& (bitpos % bitsize) == 0
&& (bitsize % GET_MODE_ALIGNMENT (mode1)) == 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment