final.c (output_addr_const): Print fixed-point constants as decimal not hex.
authorJulian Brown <julian@codesourcery.com>
Mon, 1 Aug 2011 11:53:51 +0000 (11:53 +0000)
committerJulian Brown <jules@gcc.gnu.org>
Mon, 1 Aug 2011 11:53:51 +0000 (11:53 +0000)
gcc/
* final.c (output_addr_const): Print fixed-point constants as
decimal not hex.

From-SVN: r177017

gcc/ChangeLog
gcc/final.c

index b1d0b99cb45f542e798eb7d20a00165611aa085f..171f2c79e9d8e97857a3f36910aeb4bf426471bc 100644 (file)
@@ -1,3 +1,8 @@
+2011-08-01  Julian Brown  <julian@codesourcery.com>
+
+       * final.c (output_addr_const): Print fixed-point constants as
+       decimal not hex.
+
 2011-08-01  Richard Guenther  <rguenther@suse.de>
 
        * stor-layout.c (initialize_sizetypes): Properly sign-extend
index 1d80adffc48dfbec55ad9b149337cff474c7b57f..4d7e629a7dc777985951565f224175fc740c6adb 100644 (file)
@@ -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: