This is the mail archive of the 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]

preprocessor/2188: (-ffast-math implies -D__FAST_MATH__) not documented

>Number:         2188
>Category:       preprocessor
>Synopsis:       (-ffast-math implies -D__FAST_MATH__) not documented
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 05 13:16:13 PST 2001
>Originator:     B. Lucier
>Release:        gcc 3.1 experimental
In gcc.c, cpp_options are set up so that the
flag -ffast-math defines the preprocessor symbol
__FAST_MATH__, but this is not documented.

Apply this patch.

RCS file: RCS/invoke.texi,v
retrieving revision 1.1
diff -p -r1.1 invoke.texi
*** invoke.texi 2001/03/05 21:08:13     1.1
--- invoke.texi 2001/03/05 21:09:17
*************** example, it allows the compiler to assum
*** 2940,2945 ****
--- 2940,2947 ----
  function are non-negative numbers and that no floating-point values
  are NaNs.

+ This option causes the preprocessor macro __FAST_MATH__ to be defined.
  This option should never be turned on by any @samp{-O} option since
  it can result in incorrect output for programs which depend on
  an exact implementation of IEEE or ISO rules/specifications for

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