tree-ssa-structalias.c (intra_create_variable_infos): Don't recreate nonlocal_all...
authorDaniel Berlin <dberlin@dberlin.org>
Wed, 25 Oct 2006 13:26:55 +0000 (13:26 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Wed, 25 Oct 2006 13:26:55 +0000 (13:26 +0000)
2006-10-25  Daniel Berlin  <dberlin@dberlin.org>

* tree-ssa-structalias.c (intra_create_variable_infos):
  Don't recreate nonlocal_all if it already exists.

From-SVN: r118031

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

index 3db23d454296adadd1220fdaaa61ec59ce9b92c5..1e997657b5aca0549b1a134e92773a4c4409fbcf 100644 (file)
@@ -1,3 +1,8 @@
+2006-10-25  Daniel Berlin  <dberlin@dberlin.org>
+
+       * tree-ssa-structalias.c (intra_create_variable_infos):
+         Don't recreate nonlocal_all if it already exists.
+
 2006-10-25  Richard Guenther  <rguenther@suse.de>
 
        PR target/28803
index 98ab99b4c927b9343eb09bcd3c1555195e1134d3..d47a79dc67f5e94b68f837d38585321412adc3a8 100644 (file)
@@ -4308,7 +4308,8 @@ intra_create_variable_infos (void)
            make_constraint_from_escaped (p);
        }
     }
-  nonlocal_all = create_nonlocal_var (void_type_node);
+  if (!nonlocal_all)
+    nonlocal_all = create_nonlocal_var (void_type_node);
 
   /* Create variable info for the nonlocal var if it does not
      exist.  */