diff mbox

Go patch committed: add missing break statement

Message ID CAOyqgcVjmeP=u56h3NBA4idpt7iQrxVg_=bnRdMC9A-_DWuQuw@mail.gmail.com
State New
Headers show

Commit Message

Ian Lance Taylor Sept. 22, 2016, 5:02 p.m. UTC
This patch from Marek Polacek adds a missing break statement in the Go
frontend code.  Bootstrapped and ran Go testsuite on
x86_64-pc-linux-gnu.  Committed to mainline.

Ian
diff mbox

Patch

Index: gcc/go/gofrontend/MERGE
===================================================================
--- gcc/go/gofrontend/MERGE	(revision 240334)
+++ gcc/go/gofrontend/MERGE	(working copy)
@@ -1,4 +1,4 @@ 
-69668416034247ac6c7228c9dcbf6719af05b6ca
+34c4837efc21c35eb21f40efc9bb6b1d71dbda47
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
Index: gcc/go/gofrontend/expressions.cc
===================================================================
--- gcc/go/gofrontend/expressions.cc	(revision 240334)
+++ gcc/go/gofrontend/expressions.cc	(working copy)
@@ -7066,6 +7066,7 @@  Builtin_call_expression::do_flatten(Gogo
 	      *pa = Expression::make_temporary_reference(temp, loc);
 	    }
 	}
+      break;
 
     case BUILTIN_LEN:
       Expression_list::iterator pa = this->args()->begin();