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]

askbcc


This fixes:

  FAIL: treelang/compile/var_defs.tree (test for excess errors)

in mainline and the 4.2 branch.  Checked in as obvious, tested on powerpc-apple-darwin9 on mainline and i386-apple-darwin9 on the 4.2 branch.

2006-12-07  Mike Stump  <mrs@apple.com>

	* treelang/compile/var_defs.tree: Adjust.

Doing diffs in .:
--- ./testsuite/treelang/compile/var_defs.tree.~1~	2006-12-06 19:01:39.000000000 -0800
+++ ./testsuite/treelang/compile/var_defs.tree	2006-12-07 08:36:51.000000000 -0800
@@ -13,12 +13,12 @@ condition
 {
   if (arg1)
     {
-      automatic int i;
-      return i + 1; // { dg-warning "uninitialized" }
+      automatic int i;	// { dg-warning "was declared here" }
+      return i + 1;	// { dg-warning "uninitialized" }
     }
   else
     {
-      automatic int j;
-      return j; // { dg-warning "uninitialized" }
+      automatic int j;	// { dg-warning "was declared here" }
+      return j;		// { dg-warning "uninitialized" }
     }
 }
--------------


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