lkml.org 
[lkml]   [2018]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: m68k allmodconfig build errors
On Fri, 27 Jul 2018, Andreas Schwab wrote:

> On Jul 27 2018, Finn Thain <fthain@telegraphics.com.au> wrote:
>
> > Why doesn't gcc convert strncmp to __builtin_strcmp?
>
> It does. In fact, it first converts strncmp to __builtin_strncmp, then
> optimizes it to __builtin_strcmp. Finally, __bultin_strcmp is expanded
> to a call to strcmp.
>

So either the static inline strcmp routine has to be dropped from
arch/m68k/include/asm/string.h (along with #define __HAVE_ARCH_STRCMP), or
else a static inline strncmp has to be added (along with #define
__HAVE_ARCH_STRNCMP)?

--

> Andreas.
>
>

\
 
 \ /
  Last update: 2018-07-27 14:52    [W:0.052 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site