Commit 1ef395e4 by James Greenhalgh Committed by James Greenhalgh

[AArch64] Fix printf format warning in aarch64_print_operand

gcc/
	* config/aarch64/aarch64.c (aarch64_print_operand): Fix asm_fprintf
	format specifier in 'X' case.

From-SVN: r198278
parent 9f6aaa5c
2013-04-25 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.c (aarch64_print_operand): Fix asm_fprintf
format specifier in 'X' case.
2013-04-25 Alan Modra <amodra@gmail.com>
PR target/57052
......
......@@ -3373,7 +3373,7 @@ aarch64_print_operand (FILE *f, rtx x, char code)
output_operand_lossage ("invalid operand for '%%%c'", code);
return;
}
asm_fprintf (f, "0x%x", UINTVAL (x));
asm_fprintf (f, "0x%wx", UINTVAL (x));
break;
case 'w':
......
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