+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
/* 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))