diff options
author | Jie Zhang <jie@codesourcery.com> | 2010-07-27 17:33:30 +0000 |
---|---|---|
committer | Jie Zhang <jiez@gcc.gnu.org> | 2010-07-27 17:33:30 +0000 |
commit | 65e2958885fdede707d113f4cd224b7808fe6081 (patch) | |
tree | 83aeef03b804b1827ebcd3c23c7f30ed830fb2f6 /gcc/tree-sra.c | |
parent | f67a9881a86bcdeb67fa52c0a8eb45ce9d4134d4 (diff) | |
download | gcc-65e2958885fdede707d113f4cd224b7808fe6081.tar.gz |
re PR target/44290 (__naked attribute is broken)
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.
From-SVN: r162579
Diffstat (limited to 'gcc/tree-sra.c')
-rw-r--r-- | gcc/tree-sra.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index fa567e54e8b..4893962b65e 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -4310,13 +4310,6 @@ modify_function (struct cgraph_node *node, ipa_parm_adjustment_vec adjustments) 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) |