stmt.c (resolve_asm_operand_names): Fix handling of %%.

* stmt.c (resolve_asm_operand_names): Fix handling
	of %%.

From-SVN: r161091
This commit is contained in:
Jakub Jelinek 2010-06-21 18:14:40 +02:00 committed by Jakub Jelinek
parent babc472831
commit d34b4f64c8
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-06-21 Jakub Jelinek <jakub@redhat.com>
* stmt.c (resolve_asm_operand_names): Fix handling
of %%.
2010-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/sol2.h (TARGET_OS_CPP_BUILTINS): Define

View File

@ -1319,7 +1319,7 @@ resolve_asm_operand_names (tree string, tree outputs, tree inputs, tree labels)
break;
else
{
c += 1;
c += 1 + (c[1] == '%');
continue;
}
}
@ -1341,7 +1341,7 @@ resolve_asm_operand_names (tree string, tree outputs, tree inputs, tree labels)
p += 2;
else
{
p += 1;
p += 1 + (p[1] == '%');
continue;
}