Re: [C PATCH] Improve column info of initializers (PR c/60114)

2014-04-25 Thread Marek Polacek
On Tue, Feb 11, 2014 at 12:09:39AM +, Joseph S. Myers wrote: > On Mon, 10 Feb 2014, Marek Polacek wrote: > > > This patch improves location information in a bunch of various > > initializers; see the testcase. Main issue was that digest_init > > was getting only input_location. > > > > Regte

Re: [C PATCH] Improve column info of initializers (PR c/60114)

2014-02-10 Thread Joseph S. Myers
On Mon, 10 Feb 2014, Marek Polacek wrote: > This patch improves location information in a bunch of various > initializers; see the testcase. Main issue was that digest_init > was getting only input_location. > > Regtested/bootstrapped on x86_64-linux, ok for trunk at this stage > or should I que

Re: [C PATCH] Improve column info of initializers (PR c/60114)

2014-02-10 Thread Jakub Jelinek
On Mon, Feb 10, 2014 at 10:45:24AM -0700, Jeff Law wrote: > >2014-02-10 Marek Polacek > > > > PR c/60114 > >c/ > > * c-parser.c (c_parser_initelt): Pass input_location to > > process_init_element. > > (c_parser_initval): Pass loc to process_init_element. > > * c-tree.h (proce

Re: [C PATCH] Improve column info of initializers (PR c/60114)

2014-02-10 Thread Jeff Law
On 02/10/14 06:44, Marek Polacek wrote: This patch improves location information in a bunch of various initializers; see the testcase. Main issue was that digest_init was getting only input_location. Regtested/bootstrapped on x86_64-linux, ok for trunk at this stage or should I queue it for 5.0

[C PATCH] Improve column info of initializers (PR c/60114)

2014-02-10 Thread Marek Polacek
This patch improves location information in a bunch of various initializers; see the testcase. Main issue was that digest_init was getting only input_location. Regtested/bootstrapped on x86_64-linux, ok for trunk at this stage or should I queue it for 5.0? 2014-02-10 Marek Polacek PR