This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix stupid error in my last change to highest_pow2_factor
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 16 Dec 01 13:15:32 EST
- Subject: Fix stupid error in my last change to highest_pow2_factor
I'm quite amazed something like this didn't cause any problems in the
testsuite ...
Sun Dec 16 13:13:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expr.c (highest_pow2_factor, case INTEGER_CST): Fix error in
last change.
*** expr.c 2001/12/15 13:37:16 1.400
--- expr.c 2001/12/16 18:18:04
*************** highest_pow2_factor (exp)
*** 5805,5809 ****
{
c0 = tree_low_cst (exp, 0);
! return c0 < 0 ? - c0 : c0;
}
break;
--- 5805,5810 ----
{
c0 = tree_low_cst (exp, 0);
! c0 = c0 < 0 ? - c0 : c0;
! return c0 & -c0;
}
break;