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: [patch] tree-ssa-loop-ivopts.c: Remove a redundant call toupdate_stmt.


On Wed, 2005-05-04 at 01:15 -0400, Kazu Hirata wrote:
> Hi,
> 
> Attached is a patch to remove a redundant call to update_stmt.
> 
> COPY shown in the patch is a newly created statement.  As such, it
> does not have a statement annotation yet.  When we insert the new
> statement with bsi_insert_before, it will eventually call
> update_stmt_operands, so we don't need to explicitly call update_stmt
> here.
> 
> Tested on i686-pc-linux-gnu.  OK to apply?
> 
> Kazu Hirata
> 
> 2005-05-04  Kazu Hirata  <kazu@cs.umass.edu>
> 
> 	* tree-ssa-loop-ivopts.c (rewrite_address_base): Don't call
> 	update_stmt.
This is fine.  Please install if you haven't done so already.

Thanks,
jeff



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