From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31228 invoked by alias); 28 Dec 2008 21:39:43 -0000 Received: (qmail 30924 invoked by uid 48); 28 Dec 2008 21:38:22 -0000 Date: Sun, 28 Dec 2008 21:39:00 -0000 Message-ID: <20081228213822.30923.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug objc/36283] When a class method, pointed by id, returns float, it returns wrong value In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-12/txt/msg02613.txt.bz2 ------- 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