This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: g++ optimization issue??


On Fri, 2004-12-17 at 13:44 +0000, Dave Korn wrote:
> > -----Original Message-----
> > From: gcc-owner On Behalf Of ColinLaney
> > Sent: 17 December 2004 13:30
> 
> > > I am not sure what you mean by ambiguous results.
> > I meant that in the same binary I get different results for the same
> > code. In my example code this has to do with excess precision - yes,
> > *but* it could have been avoided, say by simply doing a fildl every
> > time. 
> 
>   Indeed.  *Not* doing the fildl every time is an optimisation.  And you asked
> for optimisations!  :)
> 
Well for those that work the way I thought it had to be. But point
taken. It's easier to write working code when you're aware of these
things.

>     cheers, 
>       DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]