Re: [PATCH] Fix -E preprocessing of pragmas (PR preprocessor/57580)

2015-12-02 Thread Joseph Myers
On Wed, 2 Dec 2015, Jakub Jelinek wrote: > Hi! > > As the testcases show, we can happily emit e.g. > { #pragma omp single > in the -E preprocessed output, which is not valid C/C++, > the preprocessing directives have to be at the beginning of line > or there can be optional whitespace before th

[PATCH] Fix -E preprocessing of pragmas (PR preprocessor/57580)

2015-12-02 Thread Jakub Jelinek
Hi! As the testcases show, we can happily emit e.g. { #pragma omp single in the -E preprocessed output, which is not valid C/C++, the preprocessing directives have to be at the beginning of line or there can be optional whitespace before them. But for -fpreprocessed input there is even a strong