public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Go patch committed: add missing break statement
@ 2016-09-22 17:19 Ian Lance Taylor
  0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2016-09-22 17:19 UTC (permalink / raw)
  To: gcc-patches, gofrontend-dev; +Cc: Marek Polacek

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

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

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 858 bytes --]

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();

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-22 17:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-22 17:19 Go patch committed: add missing break statement Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).