From: Sandra Loosemore Date: Fri, 11 Apr 2025 21:16:41 +0000 (+0000) Subject: Doc: Delete misleading sentence from -frounding-math docs [PR105548] X-Git-Tag: basepoints/gcc-16~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93f6ea830348a5a733ecde863cddae80d84bdda0;p=thirdparty%2Fgcc.git Doc: Delete misleading sentence from -frounding-math docs [PR105548] gcc/ChangeLog PR middle-end/105548 * doc/invoke.texi (Optimize Options): Delete misleading sentence about conversions. --- diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index ffde9df85fd..b9dc3fc7ccd 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -15505,9 +15505,8 @@ default state for @code{FENV_ACCESS}. @opindex frounding-math @item -frounding-math Disable transformations and optimizations that assume default floating-point -rounding behavior. This is round-to-zero for all floating point -to integer conversions, and round-to-nearest for all other arithmetic -truncations. This option should be specified for programs that change +rounding behavior (round-to-nearest). +This option should be specified for programs that change the FP rounding mode dynamically, or that may be executed with a non-default rounding mode. This option disables constant folding of floating-point expressions at compile time (which may be affected by