[Mono-bugs] [Bug 78786][Nor] Changed - Unreachability bug with anonymous method causes compiler crash.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 19 08:27:43 EDT 2006

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 rharinath at novell.com.


--- shadow/78786	2006-07-18 18:55:47.000000000 -0400
+++ shadow/78786.tmp.9083	2006-07-19 08:27:43.000000000 -0400
@@ -10,12 +10,13 @@
 Component: C#
 AssignedTo: rharinath at novell.com                            
 ReportedBy: ohh at scisoft.dk               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
+Cc: martin at ximian.com,miguel at ximian.com
 Summary: Unreachability bug with anonymous method causes compiler crash.
 Please fill in this template when reporting a bug, unless you know what you
 are doing.
 Description of Problem:
 There seems to be a bug when compiling methods containing definitions of
@@ -123,6 +124,17 @@
 	current_flow_branching = new FlowBranchingToplevel 
                       (anonymous_method_host.CurrentBranching, block);
 	current_flow_branching = block.TopLevelBranching;
+------- Additional Comments From rharinath at novell.com  2006-07-19 08:27 -------
+I think it's a double-resolve bug.  I instrumented the last bit of
+code in codegen.cs, and it shows:
+  bug78786.cs(9,46): Mono.CSharp.FlowBranchingBlock (4,Block - 0 -
+bug78786.cs(5,49): - Vector (Block,4,[N:N:N:A]-{=}-{1}))
+  bug78786.cs(9,46): Mono.CSharp.FlowBranchingBlock (4,Block - 0 -
+bug78786.cs(5,49): - Vector (Block,4,[N:N:N:A]-{=}-{=1}))
+iow, it's resolving the delegate twice in two different hosts.

More information about the mono-bugs mailing list