This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r181274 - 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 22:49:00 -0000
- Subject: r181274 - in /branches/google/gcc-4_6/gcc: Chan...
Author: delesley
Date: Thu Nov 10 22:49:00 2011
New Revision: 181274
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181274
Log:
This patch fixes a bug wherein the trylock attribute would not work if
it was attached to a virtual method. Calls to gimple_call_fndecl have
been replaced in multiple places with a call to
get_fdecl_from_gimple_stmt, which handles calls to virtual methods.
Added:
branches/google/gcc-4_6/gcc/testsuite/g++.dg/thread-ann/thread_annot_lock-85.C
Modified:
branches/google/gcc-4_6/gcc/ChangeLog.google-4_6
branches/google/gcc-4_6/gcc/testsuite/ChangeLog.google-4_6
branches/google/gcc-4_6/gcc/tree-threadsafe-analyze.c