You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2007/04/20 10:07:15 UTC
[jira] Assigned: (HARMONY-3691) [drlvm][jit][opt] branch-translator
handles operands with DefScope_SemiTemporary incorrectly
[ https://issues.apache.org/jira/browse/HARMONY-3691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Varlamov reassigned HARMONY-3691:
----------------------------------------
Assignee: Alexey Varlamov
> [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.