This is the mail archive of the gcc-cvs@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]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]