* PATCH: Fix gcc 2.96 compile
@ 2003-06-26 17:55 H. J. Lu
0 siblings, 0 replies; only message in thread
From: H. J. Lu @ 2003-06-26 17:55 UTC (permalink / raw)
To: binutils
My last change breaks gcc 2.96. I checked it in as an obvious fix.
H.J.
---
2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_assemble): Declare "exp" before "if".
--- tc-i386.c.gcc-2 2003-06-23 13:42:54.000000000 -0700
+++ tc-i386.c 2003-06-26 10:45:57.000000000 -0700
@@ -1413,6 +1413,8 @@ md_assemble (line)
if (i.tm.opcode_modifier & ImmExt)
{
+ expressionS *exp;
+
if ((i.tm.cpu_flags & CpuPNI) && i.operands > 0)
{
/* These Intel Precott New Instructions have the fixed
@@ -1433,8 +1435,6 @@ md_assemble (line)
immediate field would be. Here we fake an 8-bit immediate
operand from the opcode suffix stored in tm.extension_opcode. */
- expressionS *exp;
-
assert (i.imm_operands == 0 && i.operands <= 2 && 2 < MAX_OPERANDS);
exp = &im_expressions[i.imm_operands++];
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-06-26 17:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-26 17:55 PATCH: Fix gcc 2.96 compile H. J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).