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]

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


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