re PR rtl-optimization/46665 (two gfortran tests fail with -O[2s] -fipa-pta -fno...
authorRichard Guenther <rguenther@suse.de>
Fri, 26 Nov 2010 14:04:50 +0000 (14:04 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 26 Nov 2010 14:04:50 +0000 (14:04 +0000)
2010-11-26  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46665
* tree-ssa-structalias.c (pt_solution_set_var): Use DECL_PT_UID.

From-SVN: r167176

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

index cc26014..a92635c 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-26  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/46665
+       * tree-ssa-structalias.c (pt_solution_set_var): Use DECL_PT_UID.
+
 2010-11-26  Ian Bolton  <ian.bolton@arm.com>
 
        * config/arm/arm.c (arm_option_override): enable loop array
index 8c9ed6c..0c6000b 100644 (file)
@@ -5887,7 +5887,7 @@ pt_solution_set_var (struct pt_solution *pt, tree var)
 {
   memset (pt, 0, sizeof (struct pt_solution));
   pt->vars = BITMAP_GGC_ALLOC ();
-  bitmap_set_bit (pt->vars, DECL_UID (var));
+  bitmap_set_bit (pt->vars, DECL_PT_UID (var));
   pt->vars_contains_global = is_global_var (var);
 }