Re: [PATCH] tree-object-size.c: mark "unknown" as const

2013-06-11 Thread Jeff Law
On 06/07/13 11:40, David Malcolm wrote: The array "unknown" within tree-object-size.c is only ever read from, not written to, so it can be marked as const. Successfully bootstrapped on x86_64-unknown-linux-gnu (using gcc-4.7.2-2.fc17.x86_64). OK for trunk? 2013-06-07 David Malcolm

Re: [PATCH] tree-object-size.c: mark "unknown" as const

2013-06-07 Thread David Malcolm
On Fri, 2013-06-07 at 20:49 +0200, Jakub Jelinek wrote: > On Fri, Jun 07, 2013 at 01:40:00PM -0400, David Malcolm wrote: > > The array "unknown" within tree-object-size.c is only ever read from, > > not written to, so it can be marked as const. > > > > Successfully bootstrapped on x86_64-unknown-l

Re: [PATCH] tree-object-size.c: mark "unknown" as const

2013-06-07 Thread Jakub Jelinek
On Fri, Jun 07, 2013 at 01:40:00PM -0400, David Malcolm wrote: > The array "unknown" within tree-object-size.c is only ever read from, > not written to, so it can be marked as const. > > Successfully bootstrapped on x86_64-unknown-linux-gnu (using > gcc-4.7.2-2.fc17.x86_64). > > OK for trunk? >

[PATCH] tree-object-size.c: mark "unknown" as const

2013-06-07 Thread David Malcolm
The array "unknown" within tree-object-size.c is only ever read from, not written to, so it can be marked as const. Successfully bootstrapped on x86_64-unknown-linux-gnu (using gcc-4.7.2-2.fc17.x86_64). OK for trunk? 2013-06-07 David Malcolm * tree-object-size.c (unknown): Make const