This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix PR46665


I should remember really my own inventions ...

Bootstrap and regtest pending on x86_64-unknown-linux-gnu.

Richard.

2010-11-26  Richard Guenther  <rguenther@suse.de>

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

Index: gcc/tree-ssa-structalias.c
===================================================================
*** gcc/tree-ssa-structalias.c	(revision 167170)
--- gcc/tree-ssa-structalias.c	(working copy)
*************** pt_solution_set_var (struct pt_solution
*** 5887,5893 ****
  {
    memset (pt, 0, sizeof (struct pt_solution));
    pt->vars = BITMAP_GGC_ALLOC ();
!   bitmap_set_bit (pt->vars, DECL_UID (var));
    pt->vars_contains_global = is_global_var (var);
  }
  
--- 5887,5893 ----
  {
    memset (pt, 0, sizeof (struct pt_solution));
    pt->vars = BITMAP_GGC_ALLOC ();
!   bitmap_set_bit (pt->vars, DECL_PT_UID (var));
    pt->vars_contains_global = is_global_var (var);
  }
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]