This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Enable ipa-pure-const at WHOPR


Hi,
I was too fast to assume that whopr is not safe for pure const since declataion
changes made will be lost. We actually preserve updated declarations from WPA
and the pass work as expected, enabled thus.

Will commit this as obvious once testers test whopr without this change.
Bootstrapped/regtsted x86_64-linux.

Honza

	* opts.c (decode_options): Enable pure-const pass for whopr.
Index: opts.c
===================================================================
--- opts.c	(revision 158563)
+++ opts.c	(working copy)
@@ -1125,7 +1125,6 @@ decode_options (unsigned int argc, const
       /* These passes are not WHOPR compatible yet.  */
       flag_ipa_cp = 0;
       flag_ipa_reference = 0;
-      flag_ipa_pure_const = 0;
       flag_ipa_type_escape = 0;
       flag_ipa_pta = 0;
       flag_ipa_struct_reorg = 0;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]