Re: [PATCH 02/11] Fix token pasting with -ftrack-macro-expansion

2012-04-14 Thread Dodji Seketeli
Jason Merrill writes: > On 04/10/2012 10:57 AM, Dodji Seketeli wrote: >> +virt_loc = *(context->c.mc->cur_virt_loc - 1); > > Style nit: I'd use [-1] here. OK with that change. Thanks, here is the updated patch that I'll commit in a few days. Tested and bootstrapped on x86_64-unknown-linux-

Re: [PATCH 02/11] Fix token pasting with -ftrack-macro-expansion

2012-04-11 Thread Jason Merrill
On 04/10/2012 10:57 AM, Dodji Seketeli wrote: +virt_loc = *(context->c.mc->cur_virt_loc - 1); Style nit: I'd use [-1] here. OK with that change. Jason

[PATCH 02/11] Fix token pasting with -ftrack-macro-expansion

2012-04-10 Thread Dodji Seketeli
This patch makes token pasting work with -ftrack-macro-expansion turned on. It improves some pasting related tests of the gcc.dg/cpp sub-directory. Tested and bootstrapped on x86_64-unknown-linux-gnu against trunk. Note that the bootstrap with -ftrack-macro-expansion exhibits other separate issu