This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Minor tweak to function.c:keep_stack_depressed


    There are a number of bugs here.  Not the least of which is
    failing to honor EPILOGUE_USES or tracking which registers
    are being used as temporaries by the epilogue itself.

This temporary is only live for one instruction: the one that loads
the register that SP depends on (usually FP).  So unless it's used in
that SET_SRC, it has to be safe.

I agree I need to check for that case, though.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]