This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: PR gas/11806: FAIL: i386 intelbad with -O0
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Mon, 12 Jul 2010 13:38:45 -0700
- Subject: PATCH: PR gas/11806: FAIL: i386 intelbad with -O0
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
This patch:
http://sourceware.org/ml/binutils/2010-04/msg00284.html
removed fall through patch for O_multiply. I checked in this patch to
restore it.
H.J.
---
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4ae098e..c7c1e57 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2010-07-12 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/11806
+ * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
+ through patch for O_multiply.
+
2010-07-11 Kai Tietz <kai.tietz@onevision.com>
PR ld/11612
diff --git a/gas/config/tc-i386-intel.c b/gas/config/tc-i386-intel.c
index 186acc0..f415d71 100644
--- a/gas/config/tc-i386-intel.c
+++ b/gas/config/tc-i386-intel.c
@@ -434,6 +434,7 @@ static int i386_intel_simplify (expressionS *e)
break;
}
+ goto fallthrough;
case O_register:
ret = i386_intel_simplify_register (e);
@@ -452,6 +453,7 @@ static int i386_intel_simplify (expressionS *e)
/* FALLTHROUGH */
default:
+fallthrough:
if (e->X_add_symbol && !i386_intel_simplify_symbol (e->X_add_symbol))
return 0;
if (e->X_op == O_add || e->X_op == O_subtract)