http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51471
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-14
22:58:55 UTC ---
This is the patch which I am testing:
Index: genattrtab.c
===================================================================
--- genattrtab.c (revision 182342)
+++ genattrtab.c (working copy)
@@ -4280,6 +4280,11 @@ write_eligible_delay (const char *kind)
printf (" if (!INSN_P (candidate_insn))\n");
printf (" return 0;\n");
printf ("\n");
+ /* Frame related instructions are hard to put in the delay slot for
+ debugging info reasons. */
+ printf (" if (RTX_FRAME_RELATED_P (candidate_insn))\n");
+ printf (" return 0;\n");
+ printf ("\n");
/* If more than one delay type, find out which type the delay insn is. */