(gen_lowpart_common): Do nothing if size is greater than twice host

wordsize, not just if equal.

From-SVN: r8552
This commit is contained in:
Richard Kenner 1994-11-22 17:41:55 -05:00
parent e33745253e
commit a8dd0e73ba
1 changed files with 1 additions and 1 deletions

View File

@ -651,7 +651,7 @@ gen_lowpart_common (mode, x)
either a reasonable negative value or a reasonable unsigned value
for this mode. */
if (GET_MODE_BITSIZE (mode) == 2 * HOST_BITS_PER_WIDE_INT)
if (GET_MODE_BITSIZE (mode) >= 2 * HOST_BITS_PER_WIDE_INT)
return x;
else if (GET_MODE_BITSIZE (mode) > HOST_BITS_PER_WIDE_INT)
return 0;