Re: ANSI-strict pointer aliasing rules - Mailing list pgsql-hackers

From Zeugswetter Andreas DCP SD
Subject Re: ANSI-strict pointer aliasing rules
Date
Msg-id E1539E0ED7043848906A8FF995BDA579FC36C7@m0143.s-mxs.net
Whole thread Raw
In response to ANSI-strict pointer aliasing rules  (Taral <taralx@gmail.com>)
Responses Re: ANSI-strict pointer aliasing rules  (Taral <taralx@gmail.com>)
List pgsql-hackers
> I ran afoul of these rules the other day when compiling pgsql 8.1 on
> AIX. The configure scripts are set up to look for "xlc" instead of
> "cc", and that command invokes cc with "-qalias=ansi", the ANSI-strict
> pointer aliasing mode.

Can you please explain what exactly was not working ?
xlc has in the past shown warnings that were actually problematic code
that gcc did not show (and the cc variant of xlc also does not show).

Andreas


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Summer of Code idea
Next
From: Martijn van Oosterhout
Date:
Subject: Re: ANSI-strict pointer aliasing rules