Unix Technical Forum

Re: [HACKERS] ANSI-strict pointer aliasing rules

This is a discussion on Re: [HACKERS] ANSI-strict pointer aliasing rules within the Pgsql Patches forums, part of the PostgreSQL category; --> Zeugswetter Andreas DCP SD wrote: > > > > 4. Find the option for disabling strict alias and get ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 01:34 AM
Bruce Momjian
 
Posts: n/a
Default Re: [HACKERS] ANSI-strict pointer aliasing rules

Zeugswetter Andreas DCP SD wrote:
>
> > > 4. Find the option for disabling strict alias and get configure to

> add
> > > that.

> >
> > You'll still lose performance, but the option is "-qalias=noansi".

>
> My old xlc does not show that option, it is unfortunately version
> specific.
> The currently compatible option to turn it off would be -qnoansialias
>
> So we can use:
> xlc -qnoansialias
>
> The default cc options are: -qlanglvl=extended -qnoro -qnoroconst
> So I guess we could also use (but above is imho clearer/better):
> cc -qro -qroconst -qlanglvl=extc89


OK, patch attached and applied to use -qnoansialias in xlc. We can
consider backpatching this to 8.1.X.

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:05 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com