aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog3
-rw-r--r--gcc/cp/constexpr.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 9f5eba8..3900bba 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,8 @@
2016-09-23 Jakub Jelinek <jakub@redhat.com>
+ * constexpr.c (call_stack): Remove unnecessary
+ = vNULL initialization of file scope vec.
+
* name-lookup.c (store_bindings, store_class_bindings): Don't
initialize static local bindings_need_stored to vNULL.
diff --git a/gcc/cp/constexpr.c b/gcc/cp/constexpr.c
index b7d49f1..c5dde15 100644
--- a/gcc/cp/constexpr.c
+++ b/gcc/cp/constexpr.c
@@ -1253,7 +1253,7 @@ cxx_bind_parameters_in_call (const constexpr_ctx *ctx, tree t,
These do not need to be marked for PCH or GC. */
/* FIXME remember and print actual constant arguments. */
-static vec<tree> call_stack = vNULL;
+static vec<tree> call_stack;
static int call_stack_tick;
static int last_cx_error_tick;