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]

r169927 - in /trunk/gcc/testsuite: ChangeLog c-...


Author: krebbel
Date: Tue Feb  8 16:46:20 2011
New Revision: 169927

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169927
Log:
2011-02-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	PR middle-end/47646
	* gcc.dg/pr39666-2.c (foo2): If the location of the statement
	using the variable is known the warning is emitted there.
	* gcc.dg/uninit-pr19430.c (foo): Likewise.
	* g++.dg/warn/Wuninitialized-5.C (foo): Likewise.

	* c-c++-common/pr20000.c (g): Both warnings occur at the return
	statement.
	(vg): Likewise.
	* gcc.dg/noreturn-1.c (foo5): Likewise.
	* objc.dg/attributes/method-noreturn-1.m (method1): Likewise.
	(method2): Likewise.

	* gfortran.dg/pr25923.f90 (baz): The warning will now be issued for
	the return statement using the uninitialized variable.
	* gfortran.dg/pr39666-2.f90 (f): Likewise.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/pr20000.c
    trunk/gcc/testsuite/g++.dg/warn/Wuninitialized-5.C
    trunk/gcc/testsuite/gcc.dg/noreturn-1.c
    trunk/gcc/testsuite/gcc.dg/pr39666-2.c
    trunk/gcc/testsuite/gcc.dg/uninit-pr19430.c
    trunk/gcc/testsuite/gfortran.dg/pr25923.f90
    trunk/gcc/testsuite/gfortran.dg/pr39666-2.f90
    trunk/gcc/testsuite/objc.dg/attributes/method-noreturn-1.m


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