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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| Thread Tools | |
| Display Modes | |
|
|