summaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-30 03:39:50 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-30 03:39:50 +0000
commit553b7a5dd591a3c394517fb52def0c483b184db8 (patch)
treea0952f80158b3a95afebe6c0b5e84b350bce342d /gcc/expr.c
parent00e1516699a7db3783151dd15f35e8a699475b41 (diff)
downloadgcc-553b7a5dd591a3c394517fb52def0c483b184db8.tar.gz
* expr.c (emit_group_load_1): Don't die on const_int orig_src.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91510 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index ec44ce3ed96..e7ae6b59f77 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -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)