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'
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
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
This patch fixes a pseudo regression of my previous _Pragma patch.
The issue was that a tokenized '_Pragma' (-> CPP_PRAGMA) could end
up as to-be quoted argument ('#__VA_ARG__') and that wasn't never
handled and gave an ICE for a GCC after my previous patch and before
this patch.
The expected 'g