Is it possible to reserve registers for specific part of C code?
-ffixed-reg option or declaring a global register variable is not the answer I am looking for. I want to preserve the register value for a specific scope (let's say specific function).
Using local register variable is not possible as it does not guarantee to preserve the value of register throughout the scope. I am looking for something like clobber list with asm volatile, but for C statements.