You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Ozhdikhin (JIRA)" <ji...@apache.org> on 2007/08/31 12:18:30 UTC

[jira] Created: (HARMONY-4702) [drlvm][jit][opt] type merge for stack vars in prepass is too restrictive

[drlvm][jit][opt] type merge for stack vars in prepass is too restrictive
-------------------------------------------------------------------------

                 Key: HARMONY-4702
                 URL: https://issues.apache.org/jira/browse/HARMONY-4702
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: All
            Reporter: Pavel Ozhdikhin


VarIncarnations of stack variables of different types are not merged at joining edges, even if their types are compatible. This may lead to incorrect promotion of the stack var to variable at some CFG point and to the crash during the compilation. The bug was caught on a complex Jython scenario with dynamic class generation.


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


[jira] Updated: (HARMONY-4702) [drlvm][jit][opt] type merge for stack vars in prepass is too restrictive

Posted by "Pavel Ozhdikhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Ozhdikhin updated HARMONY-4702:
-------------------------------------

    Attachment: prepass_opt_20070830.patch

The attached patch fixes the issue.
"build.bat test" passed on Win32.

> [drlvm][jit][opt] type merge for stack vars in prepass is too restrictive
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-4702
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4702
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Pavel Ozhdikhin
>         Attachments: prepass_opt_20070830.patch
>
>
> VarIncarnations of stack variables of different types are not merged at joining edges, even if their types are compatible. This may lead to incorrect promotion of the stack var to variable at some CFG point and to the crash during the compilation. The bug was caught on a complex Jython scenario with dynamic class generation.

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


[jira] Assigned: (HARMONY-4702) [drlvm][jit][opt] type merge for stack vars in prepass is too restrictive

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov reassigned HARMONY-4702:
----------------------------------------

    Assignee: Alexey Varlamov

> [drlvm][jit][opt] type merge for stack vars in prepass is too restrictive
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-4702
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4702
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Pavel Ozhdikhin
>            Assignee: Alexey Varlamov
>         Attachments: prepass_opt_20070830.patch
>
>
> VarIncarnations of stack variables of different types are not merged at joining edges, even if their types are compatible. This may lead to incorrect promotion of the stack var to variable at some CFG point and to the crash during the compilation. The bug was caught on a complex Jython scenario with dynamic class generation.

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


[jira] Closed: (HARMONY-4702) [drlvm][jit][opt] type merge for stack vars in prepass is too restrictive

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov closed HARMONY-4702.
------------------------------------

    Resolution: Fixed

Applied at r572291.

> [drlvm][jit][opt] type merge for stack vars in prepass is too restrictive
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-4702
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4702
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Pavel Ozhdikhin
>            Assignee: Alexey Varlamov
>         Attachments: prepass_opt_20070830.patch
>
>
> VarIncarnations of stack variables of different types are not merged at joining edges, even if their types are compatible. This may lead to incorrect promotion of the stack var to variable at some CFG point and to the crash during the compilation. The bug was caught on a complex Jython scenario with dynamic class generation.

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