[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: btwowc(EOF) hang with gcc 4.4.2
From: |
Bruno Haible |
Subject: |
Re: btwowc(EOF) hang with gcc 4.4.2 |
Date: |
Tue, 22 Dec 2009 21:16:39 +0100 |
User-agent: |
KMail/1.9.9 |
Eric Blake wrote:
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42440
In summary, when a glibc version 2.3.x to 2.5 is used with a gcc version
4.3 or newer, the use of __inline in <wchar.h> leads to multiple
misbehaviours:
- miscompilation, as observed by Karl,
- link errors, as observed here:
http://sourceware.org/bugzilla/show_bug.cgi?id=4022
> Any objections to the following?
> + * m4/btowc.m4 (gl_FUNC_BTOWC): Add a timeout.
> + * doc/posix-functions/btowc.texi (btowc): Document the problem.
Yes, I object. It's not only about 'btowc'. The entire <wchar.h> is
broken in this situation. The protection needs to go into m4/wchar.m4.
Bruno
- Re: btwowc(EOF) hang with gcc 4.4.2, Eric Blake, 2009/12/15
- Re: btwowc(EOF) hang with gcc 4.4.2, Eric Blake, 2009/12/22
- Re: btwowc(EOF) hang with gcc 4.4.2,
Bruno Haible <=
- Re: btwowc(EOF) hang with gcc 4.4.2, Eric Blake, 2009/12/22
- Re: btwowc(EOF) hang with gcc 4.4.2, Bruno Haible, 2009/12/22
- Re: btwowc(EOF) hang with gcc 4.4.2, Eric Blake, 2009/12/22
- Re: btwowc(EOF) hang with gcc 4.4.2, Bruno Haible, 2009/12/22
- Re: btwowc(EOF) hang with gcc 4.4.2, Karl Berry, 2009/12/23