This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bad Patch to i386.md crashes i386 build
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Bad Patch to i386.md crashes i386 build
- From: Tim Josling <tej at melbpc dot org dot au>
- Date: Wed, 08 Mar 2000 23:56:46 +1100
- Organization: Melbourne PC User Group
This was put in in the week ending 7 Feb 2000, but I haven't been
able to find the perpetrator. Note the use of unitialized
variables eoschar and align!
Tim Josling
--- 8583,8596 ----
{
rtx out, addr, eoschar, align, scratch1, scratch2, scratch3;
+ /* The generic case of strlen expander is long. Avoid it's
+ expanding unless TARGET_INLINE_ALL_STRINGOPS. */
+
+ if (TARGET_UNROLL_STRLEN && eoschar == const0_rtx && optimize
> 1
+ && !optimize_size
+ && (GET_CODE (align) != CONST_INT || INTVAL (align) < 4))
+ FAIL;
+
out = operands[0];
addr = force_reg (Pmode, XEXP (operands[1], 0));
eoschar = operands[2];