diff options
author | Jan Hubicka <jh@suse.cz> | 2020-09-22 22:16:00 +0200 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2020-09-22 22:16:00 +0200 |
commit | 39b3b1bdd9ea3d36ce41276b8452506b79cc4368 (patch) | |
tree | 73312eeeb748fae914dff5f43aca2a842270b25a /gcc/selftest-run-tests.c | |
parent | 7d8177b027b87cf3211e2d6cf144ec71616425ea (diff) | |
download | gcc-39b3b1bdd9ea3d36ce41276b8452506b79cc4368.zip gcc-39b3b1bdd9ea3d36ce41276b8452506b79cc4368.tar.gz gcc-39b3b1bdd9ea3d36ce41276b8452506b79cc4368.tar.bz2 |
Fix ipa-modref selftest and destructor
* ipa-modref-tree.c: Add namespace selftest.
(modref_tree_c_tests): Rename to ...
(ipa_modref_tree_c_tests): ... this.
* ipa-modref.c (pass_modref): Remove destructor.
(ipa_modref_c_finalize): New function.
* ipa-modref.h (ipa_modref_c_finalize): Declare.
* selftest-run-tests.c (selftest::run_tests): Call
ipa_modref_c_finalize.
* selftest.h (ipa_modref_tree_c_tests): Declare.
* toplev.c: Include ipa-modref-tree.h and ipa-modref.h
(toplev::finalize): Call ipa_modref_c_finalize.
Diffstat (limited to 'gcc/selftest-run-tests.c')
-rw-r--r-- | gcc/selftest-run-tests.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/selftest-run-tests.c b/gcc/selftest-run-tests.c index f0a81d4..7a89b2d 100644 --- a/gcc/selftest-run-tests.c +++ b/gcc/selftest-run-tests.c @@ -90,6 +90,7 @@ selftest::run_tests () read_rtl_function_c_tests (); digraph_cc_tests (); tristate_cc_tests (); + ipa_modref_tree_c_tests (); /* Higher-level tests, or for components that other selftests don't rely on. */ |