------- Comment #2 from pinskia at gcc dot gnu dot org  2009-12-20 03:41 -------
So we have:

extern wint_t __btowc_alias (int __c) __asm ("btowc");
extern __inline wint_t
__attribute__ ((__nothrow__)) btowc (int __c)
{ return (__builtin_constant_p (__c) && __c >= '\0' && __c <= '\x7f'
  ? (wint_t) __c : __btowc_alias (__c)); }

      if (btowc ((-1)) != (0xffffffffu))

I don't know if what people expect this to happen really.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42440

Reply via email to