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: fix strlensi in i386.md


Zack

I took the other approach and just removed the failure
test entirely so it never fails to expand the call.

I've had this mod in my local tree for several week now
and haven't come across any problems.

The code in builtins.c which invokes the strlen expander
definitely isn't expecting the expander to fail (i.e. use 
FAIL to exit). 

Graham

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