Commit a3a03040 by Richard Kenner

(subreg_lowpart_p): Return 0 if SUBREG_REG is VOIDmode.

From-SVN: r13697
parent 6e86170d
/* Emit RTL for the GNU C-Compiler expander. /* 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. This file is part of GNU CC.
...@@ -1041,6 +1041,8 @@ subreg_lowpart_p (x) ...@@ -1041,6 +1041,8 @@ subreg_lowpart_p (x)
{ {
if (GET_CODE (x) != SUBREG) if (GET_CODE (x) != SUBREG)
return 1; return 1;
else if (GET_MODE (SUBREG_REG (x)) == VOIDmode)
return 0;
if (WORDS_BIG_ENDIAN if (WORDS_BIG_ENDIAN
&& GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))) > UNITS_PER_WORD) && GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))) > UNITS_PER_WORD)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment