Revert
2010-07-23 Jie Zhang <jie@codesourcery.com>
* tree-sra.c (ipa_sra_preliminary_function_checks): Return
false if ! tree_versionable_function_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162579
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-07-27 Jie Zhang <jie@codesourcery.com>
+
+ PR target/44290
+ Revert
+ 2010-07-23 Jie Zhang <jie@codesourcery.com>
+ * tree-sra.c (ipa_sra_preliminary_function_checks): Return
+ false if ! tree_versionable_function_p.
+
2010-07-27 Jakub Jelinek <jakub@redhat.com>
* dwarf2out.c (add_data_member_location_attribute): Use
static bool
ipa_sra_preliminary_function_checks (struct cgraph_node *node)
{
- if (!tree_versionable_function_p (current_function_decl))
- {
- if (dump_file)
- fprintf (dump_file, "Function isn't allowed to be versioned.\n");
- return false;
- }
-
if (!cgraph_node_can_be_local_p (node))
{
if (dump_file)