* expr.c (expand_expr_real): More curefully expand union casts.

From-SVN: r75649
This commit is contained in:
Jan Hubicka 2004-01-10 21:50:53 +01:00 committed by Jan Hubicka
parent a8d6534992
commit cf7cb67e97
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-01-10 Jan Hubicka <jh@suse.cz>
* expr.c (expand_expr_real): More curefully expand union casts.
2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
* config/m32r/m32r.md (flush_icache): Use 1 for

View File

@ -7509,7 +7509,12 @@ expand_expr_real (tree exp, rtx target, enum machine_mode tmode,
}
if (target == 0)
target = assign_temp (type, 0, 1, 1);
{
if (TYPE_MODE (type) != BLKmode)
target = gen_reg_rtx (TYPE_MODE (type));
else
target = assign_temp (type, 0, 1, 1);
}
if (GET_CODE (target) == MEM)
/* Store data into beginning of memory target. */