expr.c (emit_group_load): Fix typo, GET_MODE not GET_CODE.

2000-06-02  Andrew MacLeod  <amacleod@cygnus.com>

	* expr.c (emit_group_load): Fix typo, GET_MODE not GET_CODE.

From-SVN: r34354
This commit is contained in:
Andrew MacLeod 2000-06-02 10:15:43 +00:00 committed by Andrew Macleod
parent 8d867e7d80
commit 4636c0a2f4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-06-02 Andrew MacLeod <amacleod@cygnus.com>
* expr.c (emit_group_load): Fix typo, GET_MODE not GET_CODE.
Fri Jun 2 00:22:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.h (CPP_SPEC): Add -D__NOMACSAVE__ for -mnomacsave.

View File

@ -1926,7 +1926,7 @@ emit_group_load (dst, orig_src, ssize, align)
src = orig_src;
if (GET_CODE (src) != MEM)
{
if (GET_CODE (src) == VOIDmode)
if (GET_MODE (src) == VOIDmode)
src = gen_reg_rtx (GET_MODE (dst));
else
src = gen_reg_rtx (GET_MODE (orig_src));