Jan Hubicka <hubicka@freesoft.cz>

* builtins.c (expand_builtin_strlen): Fix best mode searching loop.

From-SVN: r29770
This commit is contained in:
Jan Hubicka 1999-10-02 19:56:05 +02:00 committed by Richard Henderson
parent e0dc26ffad
commit 54e43c67ac
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
* builtins.c (expand_builtin_strlen): Fix best mode searching loop.
Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
* i386.md (ffs expander): Emit Pentium friendly code for

View File

@ -1318,7 +1318,7 @@ expand_builtin_strlen (exp, target, mode)
{
icode = strlen_optab->handlers[(int) insn_mode].insn_code;
if (icode != CODE_FOR_nothing)
return 0;
break;
insn_mode = GET_MODE_WIDER_MODE (insn_mode);
}