Re: ANSI-strict pointer aliasing rules

From: "Zeugswetter Andreas DCP SD" <ZeugswetterA(at)spardat(dot)at>
To: "Taral" <taralx(at)gmail(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ANSI-strict pointer aliasing rules
Date: 2006-04-27 15:25:09
Message-ID: E1539E0ED7043848906A8FF995BDA579FC36C7@m0143.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-04-27 15:30:14 Re: ANSI-strict pointer aliasing rules
Previous Message Stephen Frost 2006-04-27 15:21:59 Re: Summer of Code idea