tree-sra.c (ipa_sra_preliminary_function_checks): Dump proper words when !tree_versio...
authorJie Zhang <jie@codesourcery.com>
Fri, 23 Jul 2010 10:52:43 +0000 (10:52 +0000)
committerJie Zhang <jiez@gcc.gnu.org>
Fri, 23 Jul 2010 10:52:43 +0000 (10:52 +0000)
* tree-sra.c (ipa_sra_preliminary_function_checks): Dump
proper words when !tree_versionable_function_p.

From-SVN: r162453

gcc/ChangeLog
gcc/tree-sra.c

index 7361e34..cbe0146 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-23  Jie Zhang  <jie@codesourcery.com>
+
+       * tree-sra.c (ipa_sra_preliminary_function_checks): Dump
+       proper words when !tree_versionable_function_p.
+
 2010-07-23  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/45037
index c051dd4..2ac6458 100644 (file)
@@ -4311,7 +4311,7 @@ ipa_sra_preliminary_function_checks (struct cgraph_node *node)
   if (!tree_versionable_function_p (node->decl))
     {
       if (dump_file)
-       fprintf (dump_file, "Function not local to this compilation unit.\n");
+       fprintf (dump_file, "Function is not versionable.\n");
       return false;
     }