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: Don't eliminate insns that may trap


On Mon, Sep 30, 2002 at 06:46:07PM +0100, Andrew Haley wrote:
> 	* flow.c (insn_dead_p): When using non-call-exceptions, don't 
> 	eliminate insns that may trap.
> 	* cse.c (insn_live_p): Likewise.

I'm not really fond of this, but I guess it's the
best we can do for 3.3.  We really need a global
optimizer that can prove that memory ops shadowed
by a preceeding trapping memory op can't trap.


r~


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