aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2004-10-25 15:32:18 +0000
committerH.J. Lu <hjl.tools@gmail.com>2004-10-25 15:32:18 +0000
commitac025970cbff5491401b95f9e6b1f9f54189d777 (patch)
tree963e1f075d852d874cca756848aeb1332ea45a99 /gas
parent2b4c4cc415203ba612b819e52c1a3d1169ce7c99 (diff)
downloadgdb-ac025970cbff5491401b95f9e6b1f9f54189d777.zip
gdb-ac025970cbff5491401b95f9e6b1f9f54189d777.tar.gz
gdb-ac025970cbff5491401b95f9e6b1f9f54189d777.tar.bz2
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/config/tc-ia64.c9
2 files changed, 13 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index fdc74da..0840103 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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>
* Makefile.am: Run dep-am.
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c
index fc768d9..b18b0ea 100644
--- a/gas/config/tc-ia64.c
+++ b/gas/config/tc-ia64.c
@@ -6496,9 +6496,12 @@ emit_one_bundle ()
if (manual_bundling)
{
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",
- idesc->name, ia64_templ_desc[template].name);
+ {
+ as_bad_where (md.slot[curr].src_file, md.slot[curr].src_line,
+ "`%s' does not fit into %s template",
+ idesc->name, ia64_templ_desc[template].name);
+ --md.num_slots_in_use;
+ }
else
as_bad_where (md.slot[curr].src_file, md.slot[curr].src_line,
"Missing '}' at end of file");