On Thu, Oct 28, 2021 at 05:51:59PM +0200, Tobias Burnus wrote:
> libcpp/ChangeLog:
> 
>       PR c++/102409
>       * directives.c (destringize_and_run): Add PRAGMA_OP to the
>       CPP_PRAGMA token's flags to mark is as coming from _Pragma.
>       * include/cpplib.h (PRAGMA_OP): #define, to be used with token flags.
>       * macro.c (collect_args): Only handle CPP_PRAGMA special if PRAGMA_OP
>       is set.
> 

The patch itself looks reasonable to me, but it should come up with
testsuite coverage.  And the testsuite coverage should include both normal
testcases that do use integrated preprocessor, and the same with
-save-temps to make sure that even when preprocessing separately it works
too.

        Jakub

Reply via email to