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
This commit is contained in:
Jie Zhang 2010-07-27 17:33:30 +00:00 committed by Jie Zhang
parent f67a9881a8
commit 65e2958885
2 changed files with 8 additions and 7 deletions

View File

@ -1,3 +1,11 @@
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

View File

@ -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)