[committed, PATCH] PR binutils/20657: Don't assign alt twice

H.J. Lu hongjiu.lu@intel.com
Fri Sep 30 15:56:00 GMT 2016


	PR binutils/20657
	* i386-dis.c (putop): Don't assign alt twice.
---
 opcodes/ChangeLog  | 5 +++++
 opcodes/i386-dis.c | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index d58f5d8..20ebe69 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2016-09-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR binutils/20657
+	* i386-dis.c (putop): Don't assign alt twice.
+
 2016-09-29  Jiong Wang  <jiong.wang@arm.com>
 
 	PR target/20553
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index fb75747..c08109e 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -14095,7 +14095,6 @@ putop (const char *in_template, int sizeflag)
 	  cond = 0;
 	  break;
 	case '{':
-	  alt = 0;
 	  if (intel_syntax)
 	    {
 	      while (*++p != '|')
-- 
2.7.4



More information about the Binutils mailing list