This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: INSN_CODE_NUMBER of INT_MAX
- To: rth at redhat dot com
- Subject: Re: INSN_CODE_NUMBER of INT_MAX
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Thu, 26 Jul 01 16:14:57 EDT
- Cc: gcc at gcc dot gnu dot org
> It's never supposed to get to extract_insn. That insn is supposed
> to be removed at the end of combine.
>
> Where exactly? I can't find the code.
delete_noop_moves.
OK, then I see the bug. delete_noop_moves doesn't delete a nop insn that
has a REG_EQUAL note. But such can *still* get the INT_MAX INSN_CODE.
Indeed ths insn in question had that note.
I'm not sure what was intended here.