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]

r181602 - in /trunk/gcc: ChangeLog testsuite/Ch...


Author: torvald
Date: Mon Nov 21 22:29:31 2011
New Revision: 181602

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181602
Log:
PR47747: Fix error messages for calls to unsafe virtual functions.

	gcc/
	* trans-mem.c (diagnose_tm_1): Print an expression instead of a
	declaration in error messages for indirect calls.

	testsuite/
	g++.dg/tm/pr47747.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/tm/pr47747.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/trans-mem.c


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