2004-10-25 H.J. Lu <hongjiu.lu@intel.com>

PR 474
	* config/tc-ia64.c (emit_one_bundle): Decrement md.num_slots_in_use
	after reporting template error during manual bundling. Reported
	by Michael Dupont, michaelx.dupont@intel.com.
This commit is contained in:
H.J. Lu 2004-10-25 15:32:18 +00:00
parent 2b4c4cc415
commit ac025970cb
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2004-10-25 H.J. Lu <hongjiu.lu@intel.com>
PR 474
* config/tc-ia64.c (emit_one_bundle): Decrement md.num_slots_in_use
after reporting template error during manual bundling. Reported
by Michael Dupont, michaelx.dupont@intel.com.
2004-10-25 Daniel Jacobowitz <dan@debian.org> 2004-10-25 Daniel Jacobowitz <dan@debian.org>
* Makefile.am: Run dep-am. * Makefile.am: Run dep-am.

View File

@ -6496,9 +6496,12 @@ emit_one_bundle ()
if (manual_bundling) if (manual_bundling)
{ {
if (md.num_slots_in_use > 0) if (md.num_slots_in_use > 0)
as_bad_where (md.slot[curr].src_file, md.slot[curr].src_line, {
"`%s' does not fit into %s template", as_bad_where (md.slot[curr].src_file, md.slot[curr].src_line,
idesc->name, ia64_templ_desc[template].name); "`%s' does not fit into %s template",
idesc->name, ia64_templ_desc[template].name);
--md.num_slots_in_use;
}
else else
as_bad_where (md.slot[curr].src_file, md.slot[curr].src_line, as_bad_where (md.slot[curr].src_file, md.slot[curr].src_line,
"Missing '}' at end of file"); "Missing '}' at end of file");