Preserving the argument spills for GDB

Ian Lance Taylor iant@google.com
Mon Nov 9 15:40:00 GMT 2009


Jean Christophe Beyler <jean.christophe.beyler@gmail.com> writes:

> How can I force the prologue to keep this instruction. It is useless
> only in the case that there is no function call or no alloca. But I
> have a case where there is a function call and it is still removed.

Make the hard frame pointer register a fixed register, or add it to
EPILOGUE_USES.

Ian



More information about the Gcc mailing list