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 update-ssa schedule in PRE


The previous change introduced maybe scheduling TODO_update_ssa.  This
mismatches with TODO_update_ssa_only_virtuals by PRE so the pass
manager complains.

Fixed as obvious.

Richard.

2009-05-15  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-pre.c (eliminate): Use TODO_update_ssa_only_virtuals,
	not TODO_update_ssa.

Index: gcc/tree-ssa-pre.c
===================================================================
*** gcc/tree-ssa-pre.c	(revision 147572)
--- gcc/tree-ssa-pre.c	(working copy)
*************** eliminate (void)
*** 4135,4141 ****
  		  /* Changing an indirect call to a direct call may
  		     have exposed different semantics.  This may
  		     require an SSA update.  */
! 		  todo |= TODO_update_ssa;
  		}
  	    }
  	}
--- 4135,4141 ----
  		  /* Changing an indirect call to a direct call may
  		     have exposed different semantics.  This may
  		     require an SSA update.  */
! 		  todo |= TODO_update_ssa_only_virtuals;
  		}
  	    }
  	}


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