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]

r160387 - in /trunk/gcc: cp/ChangeLog cp/decl.c...


Author: jakub
Date: Mon Jun  7 17:49:06 2010
New Revision: 160387

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160387
Log:
	PR c++/44443
	* decl.c (initialize_local_var): If TREE_USED is set on the type,
	set also DECL_READ_P on the decl.

	* c-c++-common/Wunused-var-11.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/Wunused-var-11.c
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


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