This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
ia64 stop bit patch
- To: gcc-patches at gcc dot gnu dot org
- Subject: ia64 stop bit patch
- From: Andrew Macleod <amacleod at cygnus dot com>
- Date: Mon, 14 May 2001 10:39:42 -0700
When determining whether stop bits are necessary or not, we forget to
check RETURN rtx.
Approved by rth, Verified and I am about to check this into the root tree.
* config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
for RETURNS as well.
Index: ia64.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/ia64/ia64.c,v
retrieving revision 1.93
diff -c -p -r1.93 ia64.c
*** ia64.c 2001/04/30 22:37:23 1.93
--- ia64.c 2001/05/11 15:05:02
*************** rtx_needs_barrier (x, flags, pred)
*** 4277,4283 ****
pred);
}
}
! else if (GET_CODE (pat) == CLOBBER)
need_barrier |= rtx_needs_barrier (pat, flags, pred);
}
break;
--- 4277,4283 ----
pred);
}
}
! else if (GET_CODE (pat) == CLOBBER || GET_CODE (pat) == RETURN)
need_barrier |= rtx_needs_barrier (pat, flags, pred);
}
break;