* expr.c (emit_group_load_1): Don't die on const_int orig_src.

From-SVN: r91510
This commit is contained in:
Alan Modra 2004-11-30 03:39:50 +00:00 committed by Alan Modra
parent c621016bc8
commit f2978871b2
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-11-30 Alan Modra <amodra@bigpond.net.au>
* expr.c (emit_group_load_1): Don't die on const_int orig_src.
2004-11-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR pch/14940

View File

@ -1570,8 +1570,10 @@ emit_group_load_1 (rtx *tmps, rtx dst, rtx orig_src, tree type, int ssize)
gcc_assert (GET_CODE (dst) == PARALLEL);
if (!SCALAR_INT_MODE_P (m)
&& !MEM_P (orig_src) && GET_CODE (orig_src) != CONCAT)
if (m != VOIDmode
&& !SCALAR_INT_MODE_P (m)
&& !MEM_P (orig_src)
&& GET_CODE (orig_src) != CONCAT)
{
enum machine_mode imode = int_mode_for_mode (GET_MODE (orig_src));
if (imode == BLKmode)