Re: [PATCH 3/6] libcpp: Fix paste error with unknown pragma after macro expansion

2022-11-21 Thread Jeff Law via Gcc-patches
On 11/4/22 07:44, Lewis Hyatt via Gcc-patches wrote: In directives.cc, do_pragma() contains logic to handle a case such as the new testcase pragma-omp-unknown.c, where an unknown pragma was the result of macro expansion (for pragma namespaces that permit expansion). This no longer works correct

[PATCH 3/6] libcpp: Fix paste error with unknown pragma after macro expansion

2022-11-04 Thread Lewis Hyatt via Gcc-patches
In directives.cc, do_pragma() contains logic to handle a case such as the new testcase pragma-omp-unknown.c, where an unknown pragma was the result of macro expansion (for pragma namespaces that permit expansion). This no longer works correctly as shown by the testcase, fixed by adding PREV_WHITE t