re PR ipa/61186 (./g++.dg/ipa/pr52939.C & valgrind & pointer_set_insert)

2014-06-13  Martin Jambor  <mjambor@suse.cz>

	PR ipa/61186
	* ipa-devirt.c (possible_polymorphic_call_targets): Store NULL to
	cache_token if returning early.

From-SVN: r211641
This commit is contained in:
Martin Jambor 2014-06-13 16:26:51 +02:00 committed by Martin Jambor
parent 2abacbaec7
commit beb683ab93
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2014-06-13 Martin Jambor <mjambor@suse.cz>
PR ipa/61186
* ipa-devirt.c (possible_polymorphic_call_targets): Store NULL to
cache_token if returning early.
2014-06-13 Nick Clifton <nickc@redhat.com>
* config/rx/rx.h (JUMP_ALIGN): Return the log value if user

View file

@ -1603,6 +1603,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;
@ -1613,6 +1615,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;
@ -1626,6 +1630,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;