This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r175062 - in /branches/google/main/gcc: ChangeL...
- From: lcwu at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 14 Jun 2011 22:53:34 -0000
- Subject: r175062 - in /branches/google/main/gcc: ChangeL...
Author: lcwu
Date: Tue Jun 14 22:53:33 2011
New Revision: 175062
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175062
Log:
Enhance Annotalysis to support cloned functions/methods (especially
created by IPA-SRA). The patch basically does the following:
1. For a FUNCTION_DECL, check whether it's a clone, and if so, grab its
original DECL.
2. Deal with the situation where a reference/pointer parameter is converted
to a value parameter or even optimized away by IPA-SRA.
Added:
branches/google/main/gcc/testsuite/g++.dg/thread-ann/thread_annot_lock-78.C
Modified:
branches/google/main/gcc/ChangeLog.google-main
branches/google/main/gcc/testsuite/ChangeLog.google-main
branches/google/main/gcc/tree-threadsafe-analyze.c