This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
askbcc
- From: mrs at apple dot com (Mike Stump)
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 7 Dec 2006 08:59:22 -0800 (PST)
- Subject: 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" }
}
}
--------------