aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJames Greenhalgh <james.greenhalgh@arm.com>2013-06-03 15:33:09 +0000
committerJames Greenhalgh <james.greenhalgh@arm.com>2013-06-03 15:33:09 +0000
commit16df49d6871b8ec1768c730dcca78b63296fffbc (patch)
tree75ecea91023eb317969f969e483f757e3c349d6f /gcc/config
parentc30ef2fea7132dfba8e68d931cfcaac35e1855c4 (diff)
[AArch64] Fix printf format warning in aarch64_print_operand
* config/aarch64/aarch64.c (aarch64_print_operand): Fix asm_fprintf format specifier in 'X' case. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@199609 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/aarch64/aarch64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 4166782b80f..fa53c71df5d 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -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':