diff mbox

[obvious] Fix PR51264

Message ID Pine.LNX.4.64.1111221432370.26507@wotan.suse.de
State New
Headers show

Commit Message

Michael Matz Nov. 22, 2011, 1:36 p.m. UTC
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.
diff mbox

Patch

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;
     }
 }