[PATCH] PR preprocessor/53469 - argument tokens of _Pragma miss virtual location

2012-05-29 Thread Dodji Seketeli
Hello, Consider this short test snippet: -8--- #define STRINGIFY(x) #x #define TEST(x) \ _Pragma(STRINGIFY(GCC diagnostic ignored "-Wunused-local-typedefs")) \ typedef int myint; void bar () { TEST(myint) } ---

Re: [PATCH] PR preprocessor/53469 - argument tokens of _Pragma miss virtual location

2012-05-29 Thread Paolo Carlini
Hi, On 05/29/2012 12:19 PM, Dodji Seketeli wrote: The _Pragma is effectively ignored, hi Dodji, and sorry for taking the occasion to mention other issues with pragmas which definitely can be handled separately, but I can't resist ;) In fact we have a number of open PRs: http://gcc.gnu.or

PING [PATCH] PR preprocessor/53469 - argument tokens of _Pragma miss virtual location

2012-07-26 Thread Dodji Seketeli
Hello I am friendly pinging this patch that felt below my radar. Dodji Seketeli a écrit: > Hello, > > Consider this short test snippet: > > -8--- > #define STRINGIFY(x) #x > #define TEST(x) \ > _Pragma(STRINGIFY(GCC diagnostic ignored "-Wunu

PING^2: [PATCH] PR preprocessor/53469 - argument tokens of _Pragma miss virtual location

2012-08-27 Thread Dodji Seketeli
PING^2. Dodji Seketeli writes: > Hello, > > Consider this short test snippet: > > -8--- > #define STRINGIFY(x) #x > #define TEST(x) \ > _Pragma(STRINGIFY(GCC diagnostic ignored "-Wunused-local-typedefs")) \ > typedef int myint; > >

Re: PING^2: [PATCH] PR preprocessor/53469 - argument tokens of _Pragma miss virtual location

2012-08-27 Thread Jakub Jelinek
On Mon, Aug 27, 2012 at 09:52:04AM +0200, Dodji Seketeli wrote: > PING^2. This is ok for trunk. Thanks. > > Bootstrapped and tested on x86_64-unknown-linux-gnu against trunk. > > > > libcpp/ > > > > PR preprocessor/53469 > > * directives.c (do_pragma): Use the virtual location for the >