mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 23:00:52 +08:00
* combine.c (if_then_else_cond): Tighten mode check.
From-SVN: r71815
This commit is contained in:
parent
a801686396
commit
9eb5455884
@ -1,3 +1,7 @@
|
||||
2003-09-26 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
* combine.c (if_then_else_cond): Tighten mode check.
|
||||
|
||||
2003-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
|
||||
|
||||
* cppcharset.c, cpphash.h: Rename 'struct strbuf' to
|
||||
|
@ -7422,7 +7422,7 @@ if_then_else_cond (rtx x, rtx *ptrue, rtx *pfalse)
|
||||
}
|
||||
|
||||
/* Likewise for 0 or a single bit. */
|
||||
else if (mode != VOIDmode
|
||||
else if (SCALAR_INT_MODE_P (mode)
|
||||
&& GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT
|
||||
&& exact_log2 (nz = nonzero_bits (x, mode)) >= 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user