* 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

Reply via email to