This is the mail archive of the binutils-cvs@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]

[binutils-gdb] Don't assign alt twice


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=72da393d4131836933f104abf0f605e09970f134

commit 72da393d4131836933f104abf0f605e09970f134
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Sep 30 08:54:43 2016 -0700

    Don't assign alt twice
    
    	PR binutils/20657
    	* i386-dis.c (putop): Don't assign alt twice.

Diff:
---
 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 != '|')


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