pass_ipa_lto_wpa_fixup was removed in r158622:

2010-04-21  Jan Hubicka  <j...@suse.cz>
        [...snip...]
        * passes.c (init_optimization_passes): Remove pass_ipa_lto_wpa_fixup.

but that commit left the declaration still present in tree-pass.h

This patch removes the redundant decl.

Successfully bootstrapped on x86_64-unknown-linux-gnu

OK for trunk?  [this one seems obvious to me, but doesn't quite match
the letter of the rules in "Free for all" in
http://gcc.gnu.org/svnwrite.html , and I'm new here, hence I'm asking
out of an abundance of caution :) ]

Thanks
Dave
>From da20870a2220873df67067fcae9a00bace75d376 Mon Sep 17 00:00:00 2001
From: David Malcolm <dmalc...@redhat.com>
Date: Wed, 17 Jul 2013 23:27:36 -0400
Subject: [PATCH] Remove redundant decl of pass_ipa_lto_wpa_fixup

---
 gcc/tree-pass.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index b8c59a7..547f355 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -383,7 +383,6 @@ extern struct ipa_opt_pass_d pass_ipa_cp;
 extern struct ipa_opt_pass_d pass_ipa_reference;
 extern struct ipa_opt_pass_d pass_ipa_pure_const;
 extern struct simple_ipa_opt_pass pass_ipa_pta;
-extern struct ipa_opt_pass_d pass_ipa_lto_wpa_fixup;
 extern struct ipa_opt_pass_d pass_ipa_lto_finish_out;
 extern struct simple_ipa_opt_pass pass_ipa_tm;
 extern struct ipa_opt_pass_d pass_ipa_profile;
-- 
1.7.11.7

Reply via email to