[Bug optimization/7857] Different behaviour if compiled with optimization due to sqrt being inlined

neroden at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 10 02:04:00 GMT 2003


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.



More information about the Gcc-bugs mailing list