abort in verify_wide_reg_1(), in 2.96 20000502, simple test case
Richard Henderson
rth@cygnus.com
Thu May 4 16:24:00 GMT 2000
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;
}
More information about the Gcc-bugs
mailing list