aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-10-25 12:47:47 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2016-10-25 12:47:47 +0200
commitbc352be13c2bc8dba38e7636f9d021bc13b50c46 (patch)
tree4a719032c48a63844939d410aa66f7167ec5cbdb
parentad6922b03b0aba8010936394b535acce99f2f66d (diff)
downloadgcc-bc352be13c2bc8dba38e7636f9d021bc13b50c46.zip
gcc-bc352be13c2bc8dba38e7636f9d021bc13b50c46.tar.gz
gcc-bc352be13c2bc8dba38e7636f9d021bc13b50c46.tar.bz2
* parser.c (cp_parser_postfix_expression): Adding missing break;.
From-SVN: r241509
-rw-r--r--gcc/cp/ChangeLog2
-rw-r--r--gcc/cp/parser.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 21c6408..9c876b8 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,7 @@
2016-10-25 Jakub Jelinek <jakub@redhat.com>
+ * parser.c (cp_parser_postfix_expression): Adding missing break;.
+
* cp-tree.h (finish_builtin_launder): Declare.
* parser.c (cp_parser_postfix_expression): Handle RID_BUILTIN_LAUNDER.
* semantics.c (finish_builtin_launder): New function.
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index f962dfb..53eafa7 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -6655,6 +6655,7 @@ cp_parser_postfix_expression (cp_parser *parser, bool address_p, bool cast_p,
default:
gcc_unreachable ();
}
+ break;
}
default: