]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-ssa-structalias.c (ipa_pta_execute): Fix bogus node->analyzed test introduced...
authorJan Hubicka <jh@suse.cz>
Sat, 28 Mar 2009 16:53:27 +0000 (17:53 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 28 Mar 2009 16:53:27 +0000 (16:53 +0000)
* tree-ssa-structalias.c (ipa_pta_execute): Fix bogus node->analyzed
test introduced by my previous patch.

From-SVN: r145194

gcc/ChangeLog
gcc/tree-ssa-structalias.c

index 9cf73c24bb686cd3dacd5d82d44ec239d7fbc4cb..aff4c852338a00edadf2da256cf93e60b03229de 100644 (file)
@@ -1,3 +1,8 @@
+2009-03-28  Jan Hubicka  <jh@suse.cz>
+
+       * tree-ssa-structalias.c (ipa_pta_execute): Fix bogus node->analyzed
+       test introduced by my previous patch.
+
 2009-03-28  Richard Guenther  <rguenther@suse.de>
 
        * tree-ssa-copy.c (copy_prop_visit_phi_node): Do not leave
index 92d68d202fe890f6f8d5aa6021c09c14118515d6..1cb07f5581cee093ec1103ef72a934bf5b05862e 100644 (file)
@@ -5669,18 +5669,15 @@ ipa_pta_execute (void)
 
   for (node = cgraph_nodes; node; node = node->next)
     {
-      if (!node->analyzed)
-       {
-         unsigned int varid;
+      unsigned int varid;
 
-         varid = create_function_info_for (node->decl,
-                                           cgraph_node_name (node));
-         if (node->local.externally_visible)
-           {
-             varinfo_t fi = get_varinfo (varid);
-             for (; fi; fi = fi->next)
-               make_constraint_from (fi, anything_id);
-           }
+      varid = create_function_info_for (node->decl,
+                                       cgraph_node_name (node));
+      if (node->local.externally_visible)
+       {
+         varinfo_t fi = get_varinfo (varid);
+         for (; fi; fi = fi->next)
+           make_constraint_from (fi, anything_id);
        }
     }
   for (node = cgraph_nodes; node; node = node->next)