This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Don't eliminate insns that may trap
- From: Richard Henderson <rth at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Sep 2002 13:56:21 -0700
- Subject: Re: Don't eliminate insns that may trap
- References: <15768.36319.754584.53727@cuddles.cambridge.redhat.com>
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~