On 11/07/2011 06:12 AM, Torvald Riegel wrote: > stmt = begin_transaction_stmt (input_location, NULL, flags); > tmp = RECUR (TRANSACTION_EXPR_BODY (t)); > + if (tmp) > + { > + /* No statements; handle this like an expression. */
In which case I'm pretty sure you ought to check for non-null TRANSACTION_EXPR_BODY first and not call begin_transaction_stmt. r~