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: [tree0ssa] Dead const/pure function removal take II


On Tue, Nov 11, 2003 at 06:31:41PM +0100, Jan Hubicka wrote:
> 	* gimplify.c (gimplify_call_expr):  Unset side effects for
> 	pure functions too.
> 	* tree-cfg.c (update-call_expr_flags): New function.
> 	(remove_useless_stmts_and_vars_1): Use it.
> 	(is_ctrl_altering_stmt):  Pure/const calls enver alter.
> 	* tree-ssa-dce.c (stmt_useful_p): Check side effects flag
> 	on call exprs.

Ok.


r~


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