This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: abort in verify_wide_reg_1(), in 2.96 20000502, simple test case
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Re: abort in verify_wide_reg_1(), in 2.96 20000502, simple test case
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 4 May 2000 16:24:24 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20000503212935.A15383@dr-evil.shagadelic.org>
On Wed, May 03, 2000 at 09:29:35PM -0700, Jason R Thorpe wrote:
> In the process of testing my new NetBSD/i386 ELF configuration (mostly
> vanilla ELF i386) for GCC 2.96 20000502, I ran across an abort in
> verify_wide_reg_1() when the NetBSD source tree build was building OpenSSL.
Fixed thus.
r~
* ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
Index: ifcvt.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ifcvt.c,v
retrieving revision 1.9
diff -c -p -d -r1.9 ifcvt.c
*** ifcvt.c 2000/05/04 23:22:26 1.9
--- ifcvt.c 2000/05/04 23:23:20
*************** noce_process_if_block (test_bb, then_bb,
*** 1139,1146 ****
else_bb->end = PREV_INSN (insn_b);
reorder_insns (insn_b, insn_b, PREV_INSN (if_info.cond_earliest));
insn_b = NULL_RTX;
- x = orig_x;
}
goto success;
}
--- 1139,1146 ----
else_bb->end = PREV_INSN (insn_b);
reorder_insns (insn_b, insn_b, PREV_INSN (if_info.cond_earliest));
insn_b = NULL_RTX;
}
+ x = orig_x;
goto success;
}