From 848fac28aeb124ade22dcee4e91bfc6a41a8b9d5 Mon Sep 17 00:00:00 2001 From: Julian Brown Date: Mon, 1 Aug 2011 11:53:51 +0000 Subject: [PATCH] final.c (output_addr_const): Print fixed-point constants as decimal not hex. gcc/ * final.c (output_addr_const): Print fixed-point constants as decimal not hex. From-SVN: r177017 --- gcc/ChangeLog | 5 +++++ gcc/final.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b1d0b99cb45..171f2c79e9d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-08-01 Julian Brown + + * final.c (output_addr_const): Print fixed-point constants as + decimal not hex. + 2011-08-01 Richard Guenther * stor-layout.c (initialize_sizetypes): Properly sign-extend diff --git a/gcc/final.c b/gcc/final.c index 1d80adffc48..4d7e629a7dc 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -3609,8 +3609,7 @@ output_addr_const (FILE *file, rtx x) break; case CONST_FIXED: - fprintf (file, HOST_WIDE_INT_PRINT_HEX, - (unsigned HOST_WIDE_INT) CONST_FIXED_VALUE_LOW (x)); + fprintf (file, HOST_WIDE_INT_PRINT_DEC, CONST_FIXED_VALUE_LOW (x)); break; case PLUS: -- 2.30.2