[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_HEADER_STDBOOL fails with clang
From: |
Ralf Wildenhues |
Subject: |
Re: AC_HEADER_STDBOOL fails with clang |
Date: |
Tue, 24 Aug 2010 22:28:33 +0200 |
User-agent: |
Mutt/1.5.20 (2010-04-22) |
* Paul Eggert wrote on Mon, Aug 23, 2010 at 07:20:31PM CEST:
> This bug was reported against AIX 5.3, and IBM will continue to support
> 5.3 until next year (see
> <http://www.theregister.co.uk/2010/08/18/ibm_aix_7_1/>),
> so perhaps someone who has access to an old 5.3 box can tell us whether
> the bug still exists. If the bug still exists, the following program
> will fail on a 64-bit host:
>
> #include <stdbool.h>
> #include <assert.h>
> int main (void) {
> char digs[10];
> assert (&(digs + 5)[-2 + (bool) 1] == &digs[4]);
> return 0;
> }
FWIW, this program succeeds for me on AIX 5.3 with xlc V8.0 both without
and with -q64.
Cheers,
Ralf
- Re: AC_HEADER_STDBOOL fails with clang, (continued)
- Re: AC_HEADER_STDBOOL fails with clang, Eric Blake, 2010/08/23
- Re: AC_HEADER_STDBOOL fails with clang, Paul Eggert, 2010/08/23
- Re: AC_HEADER_STDBOOL fails with clang, Eric Blake, 2010/08/23
- Re: AC_HEADER_STDBOOL fails with clang, Paul Eggert, 2010/08/23
- Re: AC_HEADER_STDBOOL fails with clang, Eric Blake, 2010/08/23
- Re: AC_HEADER_STDBOOL fails with clang, Ralf Wildenhues, 2010/08/23
- [PATCH] stdbool: avoid rejecting clang, Eric Blake, 2010/08/23
- Re: [PATCH] stdbool: avoid rejecting clang, Ralf Wildenhues, 2010/08/24
- Re: [PATCH] stdbool: avoid rejecting clang, Paul Eggert, 2010/08/24
- Re: [PATCH] stdbool: avoid rejecting clang, Ralf Wildenhues, 2010/08/25
- Re: AC_HEADER_STDBOOL fails with clang,
Ralf Wildenhues <=