[PATCH] Incorrect integer constants in tree dump files

Adam Nemet anemet@caviumnetworks.com
Wed Nov 1 19:23:00 GMT 2006


Geoff Keating writes:
> 	* tree-pretty-print.c (dump_generic_node) <INTEGER_CST>: Use
> 	HOST_WIDE_INT_PRINT to print high and low parts.  Use
> 	HOST_BITS_PER_WIDE_INT for the width of HOST_WIDE_INT.  When
> 	printing a hexadecimal number prefix it with 0x.
> 
> 
> 	* gcc.dg/fold-mod-1.c: Match the leading 0x for the
> 	hexadecimal value.
> 	* gcc.dg/tree-prof/val-prof-2.c: Likewise.
> 	* gcc.dg/pr14796-2.c: Likewise.
> 
> This is OK, although unless it's a regression it can't be committed  
> until the tree opens up again.

I cheched this in now as r118393 and r118394 after retesting on
mipsisa64-elf and x86_64-linux.

Adam



More information about the Gcc-patches mailing list