2018-01-03 Martin Liska <mliska@suse.cz>
PR ipa/83594
* ipa-visibility.c (function_and_variable_visibility): Skip
functions with noipa attribure.
2018-01-03 Martin Liska <mliska@suse.cz>
PR ipa/83594
* gcc.dg/ipa/pr83594.c: New test.
From-SVN: r256167
+2018-01-03 Martin Liska <mliska@suse.cz>
+
+ PR ipa/83594
+ * ipa-visibility.c (function_and_variable_visibility): Skip
+ functions with noipa attribure.
+
2018-01-03 Jakub Jelinek <jakub@redhat.com>
* gcc.c (process_command): Update copyright notice dates.
{
if (node->get_availability () != AVAIL_INTERPOSABLE
|| DECL_EXTERNAL (node->decl)
- || node->has_aliases_p ())
+ || node->has_aliases_p ()
+ || lookup_attribute ("noipa", DECL_ATTRIBUTES (node->decl)))
continue;
cgraph_node *alias = 0;
+2018-01-03 Martin Liska <mliska@suse.cz>
+
+ PR ipa/83594
+ * gcc.dg/ipa/pr83594.c: New test.
+
2018-01-03 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
--- /dev/null
+__attribute__((noipa))
+void foo ()
+{
+ foo ();
+}