This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r181268 - in /branches/google/gcc-4_6/gcc: Chan...
- From: delesley at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 10 Nov 2011 20:15:53 -0000
- Subject: r181268 - in /branches/google/gcc-4_6/gcc: Chan...
Author: delesley
Date: Thu Nov 10 20:15:50 2011
New Revision: 181268
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181268
Log:
[Annotalysis]:
This patch adds support for array indexing (i.e. operator []) in lock
expressions. The current version of gcc seems to emit these as
expressions involving pointer arithmetic, so we update
get_canonical_lock_expr() to handle such expressions.
Added:
branches/google/gcc-4_6/gcc/testsuite/g++.dg/thread-ann/thread_annot_lock-84.C
Modified:
branches/google/gcc-4_6/gcc/ChangeLog.google-4_6
branches/google/gcc-4_6/gcc/Makefile.in
branches/google/gcc-4_6/gcc/testsuite/ChangeLog.google-4_6
branches/google/gcc-4_6/gcc/tree-threadsafe-analyze.c