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]

[tree-ssa] Fix bootstrap when libbanshee not included


We were trying to use a variable that is only defined with libbanshee. 
Dan, if there's a better fix, feel free to undo.

Tested on x86.


Diego.

	* tree-alias-common.c (create_alias_vars): Add #if
	HAVE_BANSHEE around test for PTA_ANDERSEN.


Index: tree-alias-common.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-alias-common.c,v
retrieving revision 1.1.2.52
diff -d -c -p -r1.1.2.52 tree-alias-common.c
*** tree-alias-common.c	20 Jan 2004 18:23:04 -0000	1.1.2.52
--- tree-alias-common.c	12 Mar 2004 17:48:15 -0000
*************** static void
*** 975,983 ****
  create_alias_vars (void)
  {
    basic_block bb;
!   if (HAVE_BANSHEE && flag_tree_points_to == PTA_ANDERSEN)
      current_alias_ops = andersen_alias_ops;
    else
     {
       current_alias_ops = NULL;
       flag_tree_points_to = PTA_NONE;
--- 975,985 ----
  create_alias_vars (void)
  {
    basic_block bb;
! #if HAVE_BANSHEE
!   if (flag_tree_points_to == PTA_ANDERSEN)
      current_alias_ops = andersen_alias_ops;
    else
+ #endif
     {
       current_alias_ops = NULL;
       flag_tree_points_to = PTA_NONE;



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