You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mikhail Fursov (JIRA)" <ji...@apache.org> on 2007/04/18 12:48:15 UTC
[jira] Commented: (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:comment-tabpanel#action_12489689 ]
Mikhail Fursov commented on HARMONY-3691:
-----------------------------------------
I checked the fix with 'build test' on Linux and Windows both.
EM64T plaftorm is not affected by the fix.
> [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
> 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.