GCC 4.2.0 Status Report (2007-03-22)

Mark Mitchell mark@codesourcery.com
Mon Mar 26 05:10:00 GMT 2007


Joseph S. Myers wrote:
> On Thu, 22 Mar 2007, Mark Mitchell wrote:
> 
>> Joseph, would you please take a look at PR 31136?  Andrew believes this
>> to be a front-end bug.
> 
> I don't think this is a front-end bug.

Thank you for investigating.

> (OK to commit this patch to mainline 
> subject to the usual testing?)

Yes.

> Index: tree-pretty-print.c
> ===================================================================
> --- tree-pretty-print.c	(revision 123147)
> +++ tree-pretty-print.c	(working copy)
> @@ -539,6 +539,14 @@
>  		dump_generic_node (buffer, TREE_TYPE (node), 
>  				   spc, flags, false);
>  	      }
> +	    else if (TREE_CODE (node) == INTEGER_TYPE)
> +	      {
> +		pp_string (buffer, (TYPE_UNSIGNED (node)
> +				    ? "<unnamed-unsigned:"
> +				    : "<unnamed-signed:"));
> +		pp_decimal_int (buffer, TYPE_PRECISION (node));
> +		pp_string (buffer, ">");
> +	      }
>  	    else
>                pp_string (buffer, "<unnamed type>");
>  	  }

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc mailing list