aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/ipa-devirt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/ipa-devirt.c')
-rw-r--r--gcc-4.9/gcc/ipa-devirt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/ipa-devirt.c b/gcc-4.9/gcc/ipa-devirt.c
index 7f07d2f94..0671a8b78 100644
--- a/gcc-4.9/gcc/ipa-devirt.c
+++ b/gcc-4.9/gcc/ipa-devirt.c
@@ -1449,6 +1449,8 @@ possible_polymorphic_call_targets (tree otr_type,
{
if (completep)
*completep = false;
+ if (cache_token)
+ *cache_token = NULL;
if (nonconstruction_targetsp)
*nonconstruction_targetsp = 0;
return nodes;
@@ -1459,6 +1461,8 @@ possible_polymorphic_call_targets (tree otr_type,
{
if (completep)
*completep = true;
+ if (cache_token)
+ *cache_token = NULL;
if (nonconstruction_targetsp)
*nonconstruction_targetsp = 0;
return nodes;
@@ -1472,6 +1476,8 @@ possible_polymorphic_call_targets (tree otr_type,
{
if (completep)
*completep = false;
+ if (cache_token)
+ *cache_token = NULL;
if (nonconstruction_targetsp)
*nonconstruction_targetsp = 0;
return nodes;