Re: gcc compiler options
On Thu, Dec 13, 2001 at 06:57:47PM +0000, Philip Blundell wrote:
> In message <[🔎] email@example.com>, Arm Lover writ
> >I want to add -ffast-math to it . Please let me know
> >where i have to change in specs file .
> In the %cc1 section, but I'm not at all sure this is a good idea.
I think Phil mentions this part of the GCC manual:
This option should never be turned on by any `-O' option since it
can result in incorrect output for programs which depend on an
exact implementation of IEEE or ANSI rules/specifications for math
Think about it when you get unexpected results.
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty
of Information Technology and Systems, Delft University of Technology,
PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635
Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl