This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: g++ optimization issue??
- From: ColinLaney <claney at online dot de>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 17 Dec 2004 14:33:37 +0100
- Subject: RE: g++ optimization issue??
- References: <NUTMEGNSQn6Mnv3Ap4K00000857@NUTMEG.CAM.ARTIMI.COM>
On Fri, 2004-12-17 at 13:22 +0000, Dave Korn wrote:
> > -----Original Message-----
> > From: ColinLaney
> > Sent: 17 December 2004 13:16
> > To: Dave Korn
>
> Colin, I've re-Cc'd the list back in this discussion, as I assume it was just
> a minor oversight rather than a deliberate intention to make this a private
> discussion; please let me know if you'd rather I don't.
Sorry, it was an oversight.
>
> > Subject: RE: g++ optimization issue??
> >
> > I am not asking for a compiler that magically fixes unwanted
> > properties
> > of the IEEE representation. I just wondered why it wasn't
> > possible to be
> > consistent.
> >
> > Colin
>
>
> It is possible. Just use -O0. The whole thing about optimisations is that
> they are (somewhat) risky, and may influence behaviour in under-specified or
> corner cases.
>
Fair enough.
>
>
> cheers,
> DaveK