Commit e1813e4b by Jan Hubicka Committed by Jan Hubicka

* ipa-visibility.c (function_and_variable_visibility): Fix pasto.

From-SVN: r250237
parent 66447ef0
2017-07-07 Jan Hubicka <hubicka@ucw.cz>
* ipa-visibility.c (function_and_variable_visibility): Fix pasto.
2017-07-07 Jan Hubicka <hubicka@ucw.cz>
* ipa-fnsummary.c (pass_data_ipa_fn_summary): Use
TV_IPA_FNSUMMARY.
* timevar.def (TV_IPA_FNSUMMARY): Define.
......
......@@ -624,7 +624,7 @@ function_and_variable_visibility (bool whole_program)
/* Optimize away PURE and CONST constructors and destructors. */
if (node->analyzed
&& (DECL_STATIC_CONSTRUCTOR (node->decl)
|| DECL_STATIC_CONSTRUCTOR (node->decl))
|| DECL_STATIC_DESTRUCTOR (node->decl))
&& (flags & (ECF_CONST | ECF_PURE))
&& !(flags & ECF_LOOPING_CONST_OR_PURE)
&& opt_for_fn (node->decl, optimize))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment