This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/32296] [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-*
- From: "spark at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jun 2007 21:43:42 -0000
- Subject: [Bug rtl-optimization/32296] [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-*
- References: <bug-32296-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from spark at gcc dot gnu dot org 2007-06-12 21:43 -------
This patch should fix the bootstrap. I was in the process of running some
regtests when gsyprf11 got reset.
diff -r f78a38a8334b gcc/config/pa/pa.c
--- a/gcc/config/pa/pa.c Thu May 31 11:43:34 2007 -0700
+++ b/gcc/config/pa/pa.c Tue Jun 05 09:36:50 2007 -0700
@@ -47,6 +47,7 @@ Boston, MA 02110-1301, USA. */
#include "tm_p.h"
#include "target.h"
#include "target-def.h"
+#include "df.h"
/* Return nonzero if there is a bypass for the output of
OUT_INSN and the fp store IN_INSN. */
@@ -4384,7 +4385,7 @@ hppa_can_use_return_insn_p (void)
{
return (reload_completed
&& (compute_frame_size (get_frame_size (), 0) ? 0 : 1)
- && ! df_regs_ever_live_p (2)
+ && df_hard_reg_used_count (2) == 1
&& ! frame_pointer_needed);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32296