This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bad Patch to i386.md crashes i386 build


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];

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]