Commit d34b4f64 by Jakub Jelinek Committed by Jakub Jelinek

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

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

From-SVN: r161091
parent babc4728
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> 2010-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/sol2.h (TARGET_OS_CPP_BUILTINS): Define * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define
......
...@@ -1319,7 +1319,7 @@ resolve_asm_operand_names (tree string, tree outputs, tree inputs, tree labels) ...@@ -1319,7 +1319,7 @@ resolve_asm_operand_names (tree string, tree outputs, tree inputs, tree labels)
break; break;
else else
{ {
c += 1; c += 1 + (c[1] == '%');
continue; continue;
} }
} }
...@@ -1341,7 +1341,7 @@ resolve_asm_operand_names (tree string, tree outputs, tree inputs, tree labels) ...@@ -1341,7 +1341,7 @@ resolve_asm_operand_names (tree string, tree outputs, tree inputs, tree labels)
p += 2; p += 2;
else else
{ {
p += 1; p += 1 + (p[1] == '%');
continue; continue;
} }
......
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