This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PR optimization/9786
- From: Richard Henderson <rth at redhat dot com>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 16 Sep 2003 14:08:02 -0700
- Subject: Re: PR optimization/9786
- References: <200309160849.56607.ebotcazou@libertysurf.fr>
On Tue, Sep 16, 2003 at 08:51:07AM +0200, Eric Botcazou wrote:
> Is it ok to delete a no-op insn that can trap?
In general, no. But
(insn 21 19 87 2 (set (reg:DF 8 st(0) [63])
(float_extend:DF (reg:SF 8 st(0)))) 136 {*extendsfdf2_1} (nil)
(expr_list:REG_EH_REGION (const_int 1 [0x1])
(nil)))
won't ever trap on x86.
The patch looks ok.
r~