This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/36283] When a class method, pointed by id, returns float, it returns wrong value
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Dec 2008 21:38:22 -0000
- Subject: [Bug objc/36283] When a class method, pointed by id, returns float, it returns wrong value
- References: <bug-36283-16200@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pinskia at gcc dot gnu dot org 2008-12-28 21:38 -------
THis is not a bug as explained, the compiler needs to decide what kind of
method needs to be called including the return value. So the compiler is guess
it returns an int instead of the float one.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36283