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]

[trans-mem] Discard dead commits to stack memory


The problem being addressed here is that somewhere in the call stack
of a transaction, we can wind up instrumenting local variables.  When
those subroutines return, the stack gets re-used.  It can happen that
that re-use happens to be within the stack frames of libitm itself.

If we do nothing, we risk clobbering libitm's stack frames and 
crashing on the way back out to the main application.


r~

Attachment: commit-528b666
Description: Text document


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