Re: [PATCH] [Annotalysis] Fix to get_canonical_lock_expr

2011-07-12 Thread Diego Novillo
On 11-07-11 18:53 , Delesley Hutchins wrote: This patch fixes get_canonical_lock_expr so that it works on lock expressions that involve a MEM_REF. Gimple code can use either MEM_REF or INDIRECT_REF in many expressions, and the choice of which to use is somewhat arbitrary. The canonical form of

Re: [PATCH] [Annotalysis] Fix to get_canonical_lock_expr

2011-07-11 Thread Delesley Hutchins
Oops. Changlog entry should read: 2011-07-11   DeLesley Hutchins        * tree-threadsafe-analyze.c (tree-threadsafe-analyze.c) Changed to force rewrite on MEM_REF