From: David Malcolm Date: Wed, 22 Oct 2014 15:10:02 +0000 (+0000) Subject: Reset global state ipa-icf.c:optimizer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9612a39a41f7d66a303c0b6fa4e76aa739d12b9a;p=gcc.git Reset global state ipa-icf.c:optimizer gcc/ * ipa-icf.c (ipa_icf_driver): Set optimizer to NULL when done. From-SVN: r216561 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index be45d7ecd2b..1a460237294 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-10-22 David Malcolm + + * ipa-icf.c (ipa_icf_driver): Set optimizer to NULL when done. + 2014-10-22 Andrew MacLeod * cfgbuild.h: New. Add prototypes for cfgbuild.c. diff --git a/gcc/ipa-icf.c b/gcc/ipa-icf.c index 0e6bd9a6073..d1238a4ce8b 100644 --- a/gcc/ipa-icf.c +++ b/gcc/ipa-icf.c @@ -2320,6 +2320,7 @@ ipa_icf_driver (void) optimizer->unregister_hooks (); delete optimizer; + optimizer = NULL; return 0; }