harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2748) [drlvm][jitrino] Server-static mode: problem with 'reassoc' optimization pass.
Date Fri, 15 Dec 2006 13:46:21 GMT
[drlvm][jitrino] Server-static mode: problem with 'reassoc' optimization pass.
------------------------------------------------------------------------------

                 Key: HARMONY-2748
                 URL: http://issues.apache.org/jira/browse/HARMONY-2748
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Mikhail Fursov


This test fails in -Xem:server_static mode. It's passed if 'reassoc' pass it turned off.

public class Test {

    public static void main(String args[]) {
        int x=1;
        for (int i=0; i<1000; i++) {
            x +=i;
        }
        x+=x;
        x+=x;
        x+=x;
        x+=x;
        x+=x;
        x+=x;
        x+=x;
        x+=x;//8

        x+=x;
        x+=x;
        x+=x;
        x+=x;
        x+=x;
        x+=x;
        x+=x;//16

        System.out.println(x);
    }
}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message