[PATCH 0/9] Don't add crtfastmath.o for -shared
Richard Biener
rguenther@suse.de
Fri Jan 27 14:52:08 GMT 2023
On Fri, 27 Jan 2023, Richard Sandiford wrote:
> Richard Biener via Gcc-patches <gcc-patches@gcc.gnu.org> writes:
> > On Fri, 27 Jan 2023, Kyrylo Tkachov wrote:
> >
> >> Thanks for fixing this Richard.
> >>
> >> > -----Original Message-----
> >> > From: Gcc-patches <gcc-patches-
> >> > bounces+kyrylo.tkachov=arm.com@gcc.gnu.org> On Behalf Of Richard
> >> > Biener via Gcc-patches
> >> > Sent: Friday, January 13, 2023 8:05 AM
> >> > To: gcc-patches@gcc.gnu.org
> >> > Cc: hongtao.liu@intel.com; ubizjak@gmail.com
> >> > Subject: [PATCH 0/9] Don't add crtfastmath.o for -shared
> >> >
> >> >
> >> > This is a series completing the fix for PR55522 which got a fix for
> >> > x86-linux already but left all other targets unfixed (including
> >> > x86-cygwin, x86-darwin and x86-mingw32). The following series
> >> > applies a similar change to other specs using crtfastmath.o,
> >> > the changes are untested.
> >> >
> >> > Target maintainers are CCed and I hope they can smoke-test the
> >> > changes.
> >> >
> >>
> >> Do you think it's something we should mention in changes.html for GCC 13?
> >
> > Sure, I will add something once the rest of the series is approved.
>
> Mind if I rubber-stamp OK the unreviewed changes? I don't think there's
> a good justification for making a different choice on different targets.
Sure, I've pushed the rest of the changes now. I'm installing below
to changes.html.
Richard.
diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html
index 6cd5dd64..9ecd115c 100644
--- a/htdocs/gcc-13/changes.html
+++ b/htdocs/gcc-13/changes.html
@@ -123,6 +123,10 @@ a work-in-progress.</p>
system overcommitting.</li>
</ul>
</li>
+ <li><code>-Ofast</code>, <code>-ffast-math</code> and <code>-funsafe-math-optimizations</code>
+ will no longer add startup code to alter the floating-point environment
+ when producing a shared object with <code>-shared</code>.
+ </li>
</ul>
More information about the Gcc-patches
mailing list