diff options
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r-- | gcc/genattrtab.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index d894253..4a9ad8c 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -5525,6 +5525,11 @@ write_eligible_delay (const char *kind) printf (" if (slot >= %d)\n", max_slots); printf (" abort ();\n"); printf ("\n"); + /* Allow dbr_schedule to pass labels, etc. This can happen if try_split + converts a compound instruction into a loop. */ + printf (" if (!INSN_P (candidate_insn))\n"); + printf (" return 0;\n"); + printf ("\n"); /* If more than one delay type, find out which type the delay insn is. */ |