From 31e9f857d5408a69bc6c1eac793103c73ce6eed0 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 22 Sep 2016 17:02:04 +0000 Subject: [PATCH] gofrontend: add missing break in Builtin_call_expression::do_flatten Reviewed-on: https://go-review.googlesource.com/29593 From-SVN: r240378 --- gcc/go/gofrontend/MERGE | 2 +- gcc/go/gofrontend/expressions.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 73645de171f..0d5105d6afe 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -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. diff --git a/gcc/go/gofrontend/expressions.cc b/gcc/go/gofrontend/expressions.cc index 70853abcd78..b893d2f92af 100644 --- a/gcc/go/gofrontend/expressions.cc +++ b/gcc/go/gofrontend/expressions.cc @@ -7066,6 +7066,7 @@ Builtin_call_expression::do_flatten(Gogo*, Named_object*, *pa = Expression::make_temporary_reference(temp, loc); } } + break; case BUILTIN_LEN: Expression_list::iterator pa = this->args()->begin(); -- 2.30.2