Hi,
I need to handle certain pragmas such that something special is generated in
the assembly output roughly at the place that corresponds to the place of
the pragma in the source code. Doing this in gcc in a clean way is not
possible I guess, so I have to apply a hack. The hack that I want to apply
is to insert a text like "asm volatile(...)" in the input buffer of gcc by
the pragma callback handler. Gcc will encounter this text after the #pragma
is handled. Is this possible? If so how? I hope that cpp_push_buffer() makes
this possible.
Regards,
Jan
- Pragma callback to insert text in input buffer? Jan Hoogerbrugge
-