Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 45582 invoked from network); 6 Jun 2007 13:46:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2007 13:46:47 -0000 Received: (qmail 44062 invoked by uid 500); 6 Jun 2007 13:46:51 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 43967 invoked by uid 500); 6 Jun 2007 13:46:50 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 43958 invoked by uid 99); 6 Jun 2007 13:46:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 06:46:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 06:46:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 166EC71418E for ; Wed, 6 Jun 2007 06:46:26 -0700 (PDT) Message-ID: <18294936.1181137586089.JavaMail.jira@brutus> Date: Wed, 6 Jun 2007 06:46:26 -0700 (PDT) From: "Mikhail Fursov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4073) [drlvm][jit] RCE must not substitute EFLAGS values produced by CMP with ones produced by SBB In-Reply-To: <23461316.1181135546118.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Fursov updated HARMONY-4073: ------------------------------------ Attachment: i8.fix i8.fix - the fix and regression test > [drlvm][jit] RCE must not substitute EFLAGS values produced by CMP with ones produced by SBB > -------------------------------------------------------------------------------------------- > > Key: HARMONY-4073 > URL: https://issues.apache.org/jira/browse/HARMONY-4073 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Mikhail Fursov > Attachments: i8.fix > > > I found that LongTest from luni module fails when run with OPT. > The minimized testcase is: > System.out.println(foo(Long.MIN_VALUE)); > static boolean foo(long v) { > v = -v; > return v < 0; > } > RI prints 'true' but DRLVM in -Xem:opt mode prints 'false' here. > The reason of failure is illegal RCE behaviour: it must not substitute EFLAGS values produced by CMP with ones produced by SBB -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.