This is the mail archive of the gcc-patches@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]

Re: Patch to allow strlen expander to fail


>>>>> Jan Hubicka writes:

 > Hi
 > This patch adds the strlen libcall and necesary code to emit_builtin_strlen
 > to emit libcall when strlen expander fails.
 > This avoids problems with expr expanded twice.

 > Together with the strlensi patch it ought to make gcc to deal sanely
 > with strlen on i386.
Which patch do you mean?  Are you referring to this one?

Fri Mar 03 22:21:40 2000  Philipp Thomas <pthomas@suse.de>

	* config/i386/i386.md(strlensi): Initialize variables before
        accessing them.


The patch doesn't apply cleanly against the current CVS version:
patching file builtins.c
Hunk #1 succeeded at 1334 (offset 35 lines).
Hunk #2 FAILED at 1378.
Hunk #3 FAILED at 1392.
2 out of 3 hunks FAILED -- saving rejects to file builtins.c.rej

Seems to be some whitespace issue, I could apply it easily by hand.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

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