This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ast-optimizer-branch] PATCH to pretty-printer


On Wed, 2002-06-12 at 15:05, Frank Ch. Eigler wrote:

> 	char *p;	
> 	int *q;
> 	p[8] = 'a';
> 	p[7] = 5;
> 
> where the 8/7 indices were not both correctly printed because the
> size of the pointed-to type was accounted for improperly.
> 
These indices currently show up as '0', right?  It's been bugging me for
a while.  Not enough, obviously.


> 2002-06-12  Frank Ch. Eigler  <fche@redhat.com>
> 
> 	* c-pretty-print.c (dump_c_node): Correct scaling of pointer-type
> 	integer constants by type precision.
>
This is OK.


Thanks.  Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]