This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/40106] [4.4/4.5 Regression] Weird interaction between optimize_insn_for_speed_p and -funsafe-math-optimizations
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2010 16:58:53 -0000
- Subject: [Bug middle-end/40106] [4.4/4.5 Regression] Weird interaction between optimize_insn_for_speed_p and -funsafe-math-optimizations
- References: <bug-40106-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #44 from jakub at gcc dot gnu dot org 2010-03-16 16:58 -------
-Os optimizes for size current translation unit, it doesn't (nor easily can)
guess whether or not you are linking libm.a or libm.so and whether in the
former case using a call would be the only place that calls some routine (when
linking against shared library of course this doesn't make any sense, you
always get it).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40106