This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/7857] Different behaviour if compiled with optimization due to sqrt being inlined
- From: "neroden at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2003 02:04:56 -0000
- Subject: [Bug optimization/7857] Different behaviour if compiled with optimization due to sqrt being inlined
- References: <20020908074600.7857.jcas@netcabo.pt>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7857
neroden at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From neroden at gcc dot gnu dot org 2003-07-10 02:04 -------
The remnant bug mentioned by Dara (when sqrt is inlined, you can compile without -lm, but when it isn't you need -lm) simply can't be fixed in a
reasonable way; it's inherent to the whole concept of GCC inlining a function found in libm! The other problems reoported by the original reporter
appear not to exist.