This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[ira] patch for PR36663
- From: Vladimir Makarov <vmakarov at redhat dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 07 Jul 2008 14:37:09 -0400
- Subject: [ira] patch for PR36663
The patch solves PR36663. The explanation is in bugzilla.
2008-07-07 Vladimir Makarov <vmakarov@redhat.com>
PR target/36663
* caller-saves.c (free_con_fun_n): Use liveness info.
Index: caller-save.c
===================================================================
--- caller-save.c (revision 137585)
+++ caller-save.c (working copy)
@@ -1493,6 +1493,7 @@ free_con_fun_n (edge e)
COPY_HARD_REG_SET (bb_info->free_out, temp_set);
else
AND_HARD_REG_SET (bb_info->free_out, temp_set);
+ AND_HARD_REG_SET (bb_info->free_out, bb_info->live_at_end);
}
/* The function calculates global free information according