(subreg_lowpart_p): Return 0 if SUBREG_REG is VOIDmode.
From-SVN: r13697
This commit is contained in:
parent
6e86170d98
commit
a3a03040fb
@ -1,5 +1,5 @@
|
||||
/* Emit RTL for the GNU C-Compiler expander.
|
||||
Copyright (C) 1987, 88, 92, 93, 94, 95, 1996 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 88, 92-96, 1997 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
@ -1041,6 +1041,8 @@ subreg_lowpart_p (x)
|
||||
{
|
||||
if (GET_CODE (x) != SUBREG)
|
||||
return 1;
|
||||
else if (GET_MODE (SUBREG_REG (x)) == VOIDmode)
|
||||
return 0;
|
||||
|
||||
if (WORDS_BIG_ENDIAN
|
||||
&& GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))) > UNITS_PER_WORD)
|
||||
|
Loading…
Reference in New Issue
Block a user