Re: [PATCH, cpp] Fix pr61817 and 69391

2016-04-06 Thread Jakub Jelinek
On Tue, Apr 05, 2016 at 09:22:37AM -0700, Richard Henderson wrote: > These two related PRs are all about remembering where a macro is expanded. > Worse, we've got two competing goals -- the real location of the expansion, > for __LINE__, and the virtual location of the expansion, for diagnostics. >

Re: [PATCH, cpp] Fix pr61817 and 69391

2016-04-05 Thread Richard Henderson
On 04/05/2016 11:03 AM, Manuel López-Ibáñez wrote: > Why use -ftrack-macro-expansion=0? That's the point of the PR -- we were producing totally bogus results. r~

Re: [PATCH, cpp] Fix pr61817 and 69391

2016-04-05 Thread Manuel López-Ibáñez
On 05/04/16 17:22, Richard Henderson wrote: These two related PRs are all about remembering where a macro is expanded. Worse, we've got two competing goals -- the real location of the expansion, for __LINE__, and the virtual location of the expansion, for diagnostics. There seems to be no way to