harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3691) [drlvm][jit][opt] branch-translator handles operands with DefScope_SemiTemporary incorrectly
Date Fri, 20 Apr 2007 10:52:16 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490324
] 

Alexey Varlamov commented on HARMONY-3691:
------------------------------------------

Mikhail, what about adding reg.test for this?

> [drlvm][jit][opt] branch-translator handles operands with DefScope_SemiTemporary incorrectly
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3691
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3691
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: btr2.diff
>
>
> While working on HARMONY-3652 I found that BTR pass handles DefScope_SemiTemporary incorrectly.
> Here is a test to reproduce:
> public class Test {
>     public static void main( String argv[] ) {
>         System.out.println(foo());
>     }
>     static int foo() {
>         int a  = 10;
>         boolean b = false;
>         if ( (a > 10 ? 20 : 30) == 30 ) {
>             b = true;
>         }
>         if (!b) {
>             return 40;
>         }
>         return 50;
>     }
> }
> RI and JET print '50' and -Xem:opt  prints '40' here.
> I'm going to fix this bug today.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message