public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5453] Clarify -shared effect on crtfastmath.o
@ 2023-01-27 14:47 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2023-01-27 14:47 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:b799acef461bcb78d77819dd27c8e4806177d841

commit r13-5453-gb799acef461bcb78d77819dd27c8e4806177d841
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Jan 13 08:57:12 2023 +0100

    Clarify -shared effect on crtfastmath.o
    
    This rewords the note to not specifically mention crtfastmath.o
    but FP environment altering by -ffast-math or -Ofast.
    
            PR target/55522
            * doc/invoke.texi (-shared): Clarify effect on -ffast-math
            and -Ofast FP environment side-effects.

Diff:
---
 gcc/doc/invoke.texi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 06d77983e30..a371cd91ef8 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -17696,8 +17696,9 @@ needs to build supplementary stub code for constructors to work.  On
 multi-libbed systems, @samp{gcc -shared} must select the correct support
 libraries to link against.  Failing to supply the correct flags may lead
 to subtle defects.  Supplying them in cases where they are not necessary
-is innocuous. For x86, crtfastmath.o will not be added when
-@option{-shared} is specified. }
+is innocuous.  @option{-shared} suppresses the addition of startup code
+to alter the floating-point environment as done with @option{-ffast-math},
+@option{-Ofast} or @option{-funsafe-math-optimizations} on some targets.}
 
 @item -shared-libgcc
 @itemx -static-libgcc

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-27 14:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-27 14:47 [gcc r13-5453] Clarify -shared effect on crtfastmath.o Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).