This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[obvious] Fix PR51264
- From: Michael Matz <matz at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 22 Nov 2011 14:36:20 +0100 (CET)
- Subject: [obvious] Fix PR51264
Hi,
there's a superfluous break in a switch in tree.c, which together with the
object clobbers confuses our warning machinery at -O0, leading to a
bootstrap fail for Tom. As we have testcases for that already in PR20681
there's no need in GCCs source base itself to contain something like this.
Hence this patch. Regstrapped on x86_64-linux, no regressions. Checked
in as r181615.
Ciao,
Michael.
PR c++/51264
* tree.c (iterative_hash_expr): Remove break after return.
Index: tree.c
===================================================================
--- tree.c (revision 181582)
+++ tree.c (working copy)
@@ -6994,7 +6994,6 @@ iterative_hash_expr (const_tree t, hashv
val = iterative_hash_expr (TREE_OPERAND (t, i), val);
}
return val;
- break;
}
}