* config/tc-ia64.c (emit_one_bundle): Stop collecting insns

for template selection when a label is needed.
This commit is contained in:
Richard Henderson 2000-09-03 09:36:57 +00:00
parent 3d96075c0c
commit 032efc8517
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-08-03 Richard Henderson <rth@cygnus.com>
* config/tc-ia64.c (emit_one_bundle): Stop collecting insns
for template selection when a label is needed.
2000-09-02 Kazu Hirata <kazu@hxi.com>
* config/tc-ia64.c: Fix formatting.

View File

@ -5233,11 +5233,13 @@ emit_one_bundle ()
user_template = template = md.slot[first].user_template;
else
{
/* auto select appropriate template */
/* Auto select appropriate template. */
memset (type, 0, sizeof (type));
curr = first;
for (i = 0; i < n; ++i)
{
if (md.slot[curr].label_fixups && i != 0)
break;
type[i] = md.slot[curr].idesc->type;
curr = (curr + 1) % NUM_SLOTS;
}