Commit 463a8384 by Bernd Schmidt Committed by Bernd Schmidt

Fix INTEL_SYNTAX output for i386 backend

From-SVN: r28170
parent 7211928a
Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* final.c (output_asm_insn): When searching for the matching string
for a given dialect, don't run past the end of the list of
alternatives if there are fewer alternatives in the template than
dialects.
1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br> 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
* gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org. * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
......
...@@ -3399,9 +3399,10 @@ output_asm_insn (template, operands) ...@@ -3399,9 +3399,10 @@ output_asm_insn (template, operands)
DIALECT_NUMBER of strings ending with '|'. */ DIALECT_NUMBER of strings ending with '|'. */
for (i = 0; i < dialect_number; i++) for (i = 0; i < dialect_number; i++)
{ {
while (*p && *p++ != '|') while (*p && *p != '}' && *p++ != '|')
; ;
if (*p == '}')
break;
if (*p == '|') if (*p == '|')
p++; p++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment