Hi Stefan,

> The generated file tm-preds.h contains now:
>
> static inline size_t
> insn_constraint_len (char fc, const char *str)
> {
>   ...
>
>   if (str[0] == '{')
>       return ((const char *) rawmemchr (str + 1, '}') - str) + 1;
>   return 1;
> }
>
> For some reason on all targets I tested, string.h is included.  I will
> have a look and see whether string.h may be included easily here, too.
> If the dependency to string.h is not wanted, I could also come up with a
> simple loop.

<string.h> won't help: as I said, rawmemchr is a GNU extension that is
simply not present on non-GNU platforms.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to