When I use gcc -O2
to optimize my program, gcc changes the value of register RBP. But I want to keep it as FRAME BASE REGISTER, how to do this?
Not the same question as: GCC: Prohibit use of some registers
When I use gcc -O2
to optimize my program, gcc changes the value of register RBP. But I want to keep it as FRAME BASE REGISTER, how to do this?
Not the same question as: GCC: Prohibit use of some registers