OSDN Git Service

* tree-ssa-structalias.c (ipa_pta_execute): Fix bogus node->analyzed
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Mar 2009 16:53:27 +0000 (16:53 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Mar 2009 16:53:27 +0000 (16:53 +0000)
test introduced by my previous patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145194 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 9cf73c2..aff4c85 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 92d68d2..1cb07f5 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)