Re: [Patch] libcpp: Fix _Pragma in #__VA_ARGS__ [PR103165]

2021-11-18 Thread Joseph Myers
On Thu, 18 Nov 2021, Jakub Jelinek via Gcc-patches wrote: > Are we handling the pragma at a wrong phase of preprocessing? I think that converting it to a single preprocessing token (rather than four separate preprocessing tokens), at a stage when stringizing might still occur, does indicate it'

Re: [Patch] libcpp: Fix _Pragma in #__VA_ARGS__ [PR103165]

2021-11-18 Thread Jakub Jelinek via Gcc-patches
On Wed, Nov 10, 2021 at 09:30:29PM +, Joseph Myers wrote: > On Wed, 10 Nov 2021, Tobias Burnus wrote: > > > Disclaimer: While this patch does a step into the right direction, > > it probably does help with any of the other _Pragma issues. Neither > > with 'gcc -E' when the pragma wasn't regist

Re: [Patch] libcpp: Fix _Pragma in #__VA_ARGS__ [PR103165]

2021-11-10 Thread Joseph Myers
On Wed, 10 Nov 2021, Tobias Burnus wrote: > Disclaimer: While this patch does a step into the right direction, > it probably does help with any of the other _Pragma issues. Neither > with 'gcc -E' when the pragma wasn't registered (still expanded too > early) nor with the 'GCC diagnostic' issues i