This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


	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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]