Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22199

Can a label (branch target) be labeled "volatile" to prevent it from being touched by GCC optimizations? [duplicate]

$
0
0

Is it possible to have volatile labels? Something like this:

volatile coroutine:

or

coroutine volatile:

or maybe even

coroutine: volatile

I want a label that won't be touched by optimizations. Is that possible? GCC extensions are acceptable.


Viewing all articles
Browse latest Browse all 22199