Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77996 --- shadow/77996 2006-04-03 08:47:29.000000000 -0400 +++ shadow/77996.tmp.24100 2006-04-03 08:47:29.000000000 -0400 @@ -0,0 +1,54 @@ +Bug#: 77996 +Product: Mono: Runtime +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: JIT +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: inline optimization breaks some CAS regression tests + +Description of Problem: +Applying the inline optimization breaks some CAS runtime regression tests. + + +Steps to reproduce the problem: +1. cd mono/mono/tests/cas/linkdemand +2. make +3. mono --security -O=inline cas3.exe +4. mono --security -O=-inline cas3.exe + + +Actual Results: +Both cas3.exe and cas6.exe fails. + + +Expected Results: +Both tests should be working (like without inlining) + + +How often does this happen? +Always with inlining. + + +Additional Information: + +* Methods that have (directly or indirectly) declarative security +attributes shouldn't be inlined. + +* This condition (inside declsec.c) doesn't seems to work when called +if ((method->klass->flags & TYPE_ATTRIBUTE_HAS_SECURITY) || (method->flags +& METHOD_ATTRIBUTE_HAS_SECURITY)) { +... +} + +* CAS was tested with all optimizations (a long time ago) but the test +cases could be more recent (i.e. I'm not 100% positive). _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
