Bug 210429 - dev-lang/mono-1.2.6-r1 - mcs/gmcs performance when compiling chained methods
Bug#: 210429 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: dotnet@gentoo.org Reported By: cwills@witznd.net
Component: Development
URL:  https://bugzilla.novell.com/show_bug.cgi?id=347359
Summary: dev-lang/mono-1.2.6-r1 - mcs/gmcs performance when compiling chained methods
Keywords:  
Status Whiteboard: 
Opened: 2008-02-17 02:36 0000
Description:   Opened: 2008-02-17 02:36 0000
I'm trying to build a mono application and have came across the problem that
was reported to the mono folks (mono #347359).  The symptom is that gmcs hangs
(30 some hours on a 50 line .CS program before I ctrl-C).  The authors of the
package that I was trying to build reported the problem to the mono folks and
there is a fix in the svn for mono.  

This is not a "gentoo" bug, but a request to see if a patch can be developed.

This does fail on multiple platforms, and is not gentoo specific.

Reproducible: Always

Steps to Reproduce:
See the referenced URL for the test case.
Actual Results:  
Excessive CPU time and utilization when compiling certain source code using
gmcs


I believe that patch is in mcs/.../expression.cs

------- Comment #1 From Saleem Abdulrasool (RETIRED) 2008-03-02 06:57:37 0000 -------
Pulled a patch for this from svn.  Should be fixed with -r2.