2004-10-25 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 25 Oct 2004 15:32:18 +0000 (15:32 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 25 Oct 2004 15:32:18 +0000 (15:32 +0000)
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.

gas/ChangeLog
gas/config/tc-ia64.c

index fdc74da04ddae82bb30a91dafca470e4e22fe39f..0840103a329ecf68f701c378188370a755796dbc 100644 (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>
 
        * Makefile.am: Run dep-am.
index fc768d906a620a15b1745f491619b3504e6edf8f..b18b0ea0c856410e69afb163787383126e3e3c50 100644 (file)
@@ -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");
This page took 0.034053 seconds and 4 git commands to generate.