Re: [patch] Prevent sharing of commit calls among transactions.

2011-12-10 Thread Richard Henderson
On 12/10/2011 12:20 PM, Torvald Riegel wrote: > Prevent sharing of commit calls among transactions. > > gcc/ > * tree-ssa-tail-merge.c (gimple_equal_p): Don't treat transaction > commits as equal. > > gcc/testsuite/ > * c-c++-common/tm/20111206.c: New tes

[patch] Prevent sharing of commit calls among transactions.

2011-12-10 Thread Torvald Riegel
Without this patch, transaction commits of different transactions get potentially merged, which breaks how we handle transactional regions. Patch provided by Richard Henderson. OK for trunk? commit 48d236d4c40fdb7111308fe88844068603e235eb Author: Torvald Riegel Date: Thu Dec 8 11:57:05 2011 +01