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, 2003-11-11 at 13:42, Jan Hubicka wrote:
> > On Tue, 2003-11-11 at 12:31, 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.
> > >
> > I can't parse this last entry.
> We was thinking that pure/const call may do nonlocal GOTO and aborted on
> attempt to remove it.
> Perhaps it should say Pure/const calls never alter CFG?
> 
Oh!  enver = never?  Now I get it.  Yes, 'pure/const calls never alter
the CFG' is a bit more clear.


Thanks.  Diego.


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