There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
New decompiler may corrupt variable initialization
When using the new decompiler, I've run into a case where a variable initialization expression is assigned to a newly-introduced variable (which is never used anywhere else), and the variable that should have been initialized is left uninitialized.
The bug can be seen when running the PeToPeViaCodeModel sample, after updating it to use the new decompiler. I've provided a DLL to use as input that illustrates the problem.
In the attached ZIP file, I've also got IL source files showing the disassembly of the Pe2Pe output, as well as a hand-modified version to show where the error is when the files are diff'd.
Please see the readme.txt file in the attached ZIP, for more details on reproducing the bug.
I will attempt to reduce the DLL to a minimal repro, but it may take some time and thought I might as well submit what I have now in case it isn't necessary to minimize.