This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
ifcvt fix
- From: Jan Hubicka <jh at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org, rth at cygnus dot com
- Date: Thu, 28 Mar 2002 19:21:52 +0100
- Subject: ifcvt fix
Hi,
first place that got caught by the sanity check is ifcvt.c both mainline
and branch. I am commiting the attached patch as obvious for mainline,
OK for branch as well?
Bootstrapped/regtested i386
Honza
Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz>
* ifcvt.c (if_convert): Clear aux_for_blocks early enought.
Index: ifcvt.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ifcvt.c,v
retrieving revision 1.83
diff -c -3 -p -r1.83 ifcvt.c
*** ifcvt.c 2002/03/28 12:25:17 1.83
--- ifcvt.c 2002/03/28 18:04:28
*************** if_convert (x_life_data_ok)
*** 2701,2706 ****
--- 2701,2708 ----
if (rtl_dump_file)
fflush (rtl_dump_file);
+ clear_aux_for_blocks ();
+
/* Rebuild life info for basic blocks that require it. */
if (num_removed_blocks && life_data_ok)
{
*************** if_convert (x_life_data_ok)
*** 2714,2720 ****
PROP_DEATH_NOTES | PROP_SCAN_DEAD_CODE
| PROP_KILL_DEAD_CODE);
}
- clear_aux_for_blocks ();
/* Write the final stats. */
if (rtl_dump_file && num_possible_if_blocks > 0)
--- 2716,2721 ----