r178871 - in /branches/google/gcc-4_6/gcc: Chan...
delesley@gcc.gnu.org
delesley@gcc.gnu.org
Wed Sep 14 23:14:00 GMT 2011
Author: delesley
Date: Wed Sep 14 23:14:10 2011
New Revision: 178871
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178871
Log:
This patch fixes two bugs which cause an internal compiler error in
annotalysis. The first change fixes a failure when a variable is
typecast from an unknown (forward-defined) type. The second change
fixes a case in which an assert was triggered, because subexpressions
were not canonicalized correctly.
2011-9-13 DeLesley Hutchins <delesley@google.com>
* gcc/cp/class.c (cp_get_virtual_function_decl)
bugfix where type is uknown
* gcc/tree-threadsafe-analyze.c (get_canonical_lock_expr)
don't remove & on recursive call
* gcc/testsuite/g++.dg/thread-ann/thread_annot_lock-79.C
new test cases
Modified:
branches/google/gcc-4_6/gcc/ChangeLog.google-4_6
branches/google/gcc-4_6/gcc/cp/ChangeLog.google-4_6
branches/google/gcc-4_6/gcc/cp/class.c
branches/google/gcc-4_6/gcc/testsuite/ChangeLog.google-4_6
branches/google/gcc-4_6/gcc/testsuite/g++.dg/thread-ann/thread_annot_lock-79.C
branches/google/gcc-4_6/gcc/tree-threadsafe-analyze.c
More information about the Gcc-cvs
mailing list