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]

Re: New SAFE immediate use iterator


On Fri, 2006-04-28 at 20:14 +0200, Andreas Schwab wrote:
> Andrew MacLeod <amacleod@redhat.com> writes:
> 
> > Try changing the assert to the latter one.  That should allow 'all ==
> > FALSE' to pass through, which I suspect is the bug you've tripped over.
> 
> Bootstrap has succeeded, now running make check.
> 
> Andreas.
> 

also on x86-linux...

checked in the following patch:

2006-04-28  Andrew MacLeod  <amacleod@redhat.com>

	* tree-ssa-dom.c (propagate_rhs_into_lhs): Fix assert clause.

Index: tree-ssa-dom.c
===================================================================
*** tree-ssa-dom.c	(revision 113321)
--- tree-ssa-dom.c	(working copy)
*************** propagate_rhs_into_lhs (tree stmt, tree 
*** 2304,2310 ****
  	}
  
        /* Ensure there is nothing else to do. */ 
!       gcc_assert (all && has_zero_uses (lhs));
  
        /* If we were able to propagate away all uses of LHS, then
  	 we can remove STMT.  */
--- 2304,2310 ----
  	}
  
        /* Ensure there is nothing else to do. */ 
!       gcc_assert (!all || has_zero_uses (lhs));
  
        /* If we were able to propagate away all uses of LHS, then
  	 we can remove STMT.  */



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