[Bug preprocessor/91517] Pragma expansion in variadic macro reorders pragmas and breaks code

paboyle at ph dot ed.ac.uk gcc-bugzilla@gcc.gnu.org
Fri Aug 23 12:58:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91517

--- Comment #5 from Peter Boyle <paboyle at ph dot ed.ac.uk> ---
Hi Jakub,

The difference between these two cases (one maintaining the pragma in right
place, 
the other note) suggested a viable work around in the code.

I can eliminate the extra naked_for macro and (with some undesired code
replication)
get a working solution.

However, that doesn't mean it isn't a bug, and it should of course be fixed,  !

Thanks for the pointer - I will make the change to the code to tolerate the
issue,
because GCC is clearly an important target for us.

Best wishes,

Peter


More information about the Gcc-bugs mailing list