Bug 10776 - mcs reports "Internal compiler error" on large nested if
Summary: mcs reports "Internal compiler error" on large nested if
Status: RESOLVED DUPLICATE of bug 4210
Alias: None
Product: Compilers
Classification: Mono
Component: C# ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Marek Safar
Depends on:
Reported: 2013-02-28 14:05 UTC by Mark Probst
Modified: 2013-03-11 11:59 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Test case (6.05 MB, application/octet-stream)
2013-02-28 14:05 UTC, Mark Probst

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Mark Probst 2013-02-28 14:05:27 UTC
Created attachment 3513 [details]
Test case

When compiling the attached program, I get this repeatedly:

/tmp/descriptors.cs(318845,5): error CS0584: Internal compiler error: Argument is out of range.
Parameter name: flow-analysis
/tmp/descriptors.cs(318845,5): error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
/tmp/descriptors.cs(318845,32): error CS0165: Use of unassigned local variable `b'

I'm on mono master.
Comment 1 Marek Safar 2013-03-11 11:59:35 UTC

*** This bug has been marked as a duplicate of bug 4210 ***