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: [PATCH] PR 32475 stack setup code being deleted.


Seongbae Park wrote:
Attached is the patch to fix 32475
where the stack pointer becomes dead after epilogue generation,
due to the stack pointer restoration codein the epilogue.
The patch adds a df_ref of use of the stack pointer
for every write to the stack pointer - which essentially keeps
the stack pointer alive always.

So, why not munging the live bitmaps directly, so that when the frame pointer is live, the stack pointer is too?


Paolo


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