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] |
This patch fixes the detection of transactions regions for transactions that have __transaction_cancel statements. The block that has the "over" label to which an aborted transaction jumps does not belong to this transaction, but to the enclosing region. The included testcase would fail with prior code because the call to unsafe() was incorrectly considered to be in a transaction. Bootstrapped and tested on x86_64. OK for branch?
Attachment:
patch1
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |