This is the mail archive of the gcc-patches@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]

Fix for g++.dg/warn/Wunused-9.C


Hi Mark,

It seems your 2004-12-22 C++ change has fixed the XFAIL you included
in the original formulation of g++.dg/warn/Wunused-9.C.  I'm not sure
why you XFAILed that case, but the current behaviour seems correct.

Okay for mainline?

Cheers, Ben

2005-01-11  Ben Elliston  <bje@au.ibm.com>

	* g++.dg/warn/Wunused-9.C: Don't XFAIL the +f() case.

Index: Wunused-9.C
===================================================================
RCS file: /home/bje/gcc-cvs/gcc/gcc/testsuite/g++.dg/warn/Wunused-9.C,v
retrieving revision 1.1
diff -u -p -r1.1 Wunused-9.C
--- Wunused-9.C 22 Dec 2004 18:00:33 -0000      1.1
+++ Wunused-9.C 11 Jan 2005 04:20:23 -0000
@@ -29,7 +29,7 @@ void g() {
   f() - 7; // { dg-warning "not used" }
   f() * 8; // { dg-warning "not used" }
   f() / 9; // { dg-warning "not used" }
-  +f(); // { dg-warning "not used" "" { xfail *-*-* } }
+  +f(); // { dg-warning "not used" }
   -f(); // { dg-warning "not used" }
   ++f();
   --f();

Attachment: signature.asc
Description: Digital signature


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