[Mono-bugs] [Bug 432673] Invalid IL code in ctor ()

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 6 21:27:20 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=432673

User vargaz at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=432673#c1


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |vargaz at gmail.com




--- Comment #1 from Zoltan Varga <vargaz at gmail.com>  2008-10-06 19:27:20 MDT ---
An easier way to repro:
mono --compile-all KeePass.exe

This is caused by this IL:
        IL_0011:  volatile. 
        IL_0013:  stfld class
[mscorlib]System.Collections.Generic.List`1<string> modreq
([mscorlib]System.Runtime.CompilerServices.IsVolatile)
KeePass.Forms.EditStringForm::m_vSuggestedNames
        IL_0018:  ldarg.0 
        IL_0019:  call instance void class
[System.Windows.Forms]System.Windows.Forms.Form::'.ctor'()

In CEE_STFLD, not all code paths reset in_flag, so it gets inherited by
the call which treats it as TAILCALL, since MONO_INST_VOLATILE ==
MONO_INST_TAILCALL.

This bug is in 2.0 and HEAD too.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list