diff options
Diffstat (limited to 'gcc/cp/constexpr.c')
-rw-r--r-- | gcc/cp/constexpr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/constexpr.c b/gcc/cp/constexpr.c index d9b9a28..ae0c973 100644 --- a/gcc/cp/constexpr.c +++ b/gcc/cp/constexpr.c @@ -998,7 +998,7 @@ get_fundef_copy (tree fun) tree copy; tree *slot = fundef_copies_table->get (fun); - if (slot == NULL) + if (slot == NULL || *slot == NULL_TREE) { copy = build_tree_list (NULL, NULL); /* PURPOSE is body, VALUE is parms, TYPE is result. */ |