aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/coroutines.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 90665e1..177a1b5 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2020-01-18 Jakub Jelinek <jakub@redhat.com>
+
+ * coroutines.cc (get_fn_local_identifier): Fix NO_DOT_IN_LABEL
+ but non-NO_DOLLAR_IN_LABEL case build.
+
2020-01-18 Iain Sandoe <iain@sandoe.co.uk>
* Make-lang.in: Add coroutines.o.
diff --git a/gcc/cp/coroutines.cc b/gcc/cp/coroutines.cc
index ad0e9ef..d3aacd7 100644
--- a/gcc/cp/coroutines.cc
+++ b/gcc/cp/coroutines.cc
@@ -2252,7 +2252,7 @@ get_fn_local_identifier (tree orig, const char *append)
sep = ".";
#else
#ifndef NO_DOLLAR_IN_LABEL
- sep = "$"
+ sep = "$";
#else
sep = "_";
pfx = "__";