This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: combine corrupts insns + dumps with insn cost problems
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Rask Ingemann Lambertsen <rask at sygehus dot dk>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 27 Jun 2007 19:54:36 +0200
- Subject: Re: combine corrupts insns + dumps with insn cost problems
- References: <20070627173256.GZ5690@sygehus.dk>
> Combine knows how to add clobbers to make insns recognizable. I'm guessing
> it accidentally clobbers the original insn in doing so. Where would I look?
Anywhere in combine. :-) This is by design, see the SUBST macro and the undo
buffer machinery. You need to put a watchpoint on your insn.
--
Eric Botcazou