From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10281 invoked by alias); 5 Sep 2005 16:15:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 10086 invoked by uid 48); 5 Sep 2005 16:15:15 -0000 Date: Mon, 05 Sep 2005 16:15:00 -0000 Message-ID: <20050905161515.10085.qmail@sourceware.org> From: "tromey at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050801155040.23182.hannes@helma.at> References: <20050801155040.23182.hannes@helma.at> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libgcj/23182] instanceof sometimes fails if compiled with -findirect-dispatch X-Bugzilla-Reason: CC X-SW-Source: 2005-09/txt/msg00566.txt.bz2 List-Id: ------- Additional Comments From tromey at gcc dot gnu dot org 2005-09-05 16:15 ------- One reason I suspect a compiler bug and not a bug in 'instanceof' is that the code works in the interpreter but not when BC-compiled. Tom F... I think the arguments are reversed to the call in your assertion example. The first class argument is the target class, which must be the base class. The second class argument is the source class. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23182