This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/12203] nearbyint returns always 895


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12203


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-07 21:24 -------
Did you read http://gcc.gnu.org/bugs.html, at all?
`Before reporting that GCC compiles your code incorrectly, please compile it with gcc -Wall and 
see whether this shows anything wrong with your code that could be the cause instead of a bug in 
GCC.'

gcc -Wall pr12203.c -lm
pr12203.c: In function `show':
pr12203.c:6: warning: implicit declaration of function `nearbyint'

So this is a glibc bug in math.h then and not a GCC bug at all.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]