gcc/
authorjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Aug 2011 11:53:51 +0000 (11:53 +0000)
committerjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Aug 2011 11:53:51 +0000 (11:53 +0000)
* final.c (output_addr_const): Print fixed-point constants as
decimal not hex.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177017 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/final.c

index b1d0b99..171f2c7 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 1d80adf..4d7e629 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: