This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Make compare_and_jump_seq check that it has a jump insn
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 23 Jun 2010 18:49:14 +0200
- Subject: Re: RFA: Make compare_and_jump_seq check that it has a jump insn
- References: <m31vbydq3e.fsf@redhat.com>
> The problem is that compare_and_jump_seq was then using the JUMP_LABEL
> macro on an insn that was not a jump, and in the process corrupting a
> completely unrelated insn. (It took me a *long* time to track down
> exactly where this corruption was occurring...).
Configuring with RTL checking (--enable-checking=yes,rtl) would presumably
have revealed the problem immediately.
--
Eric Botcazou