bugDotGNU Portable.NET - Bugs: bug #12048, cscc hangs for some switch...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #12048: cscc hangs for some switch statements

Submitter:  Marco Bosatta <mboss>
Submitted:  Sun 20 Feb 2005 03:30:53 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Tue 22 Feb 2005 08:50:25 AM UTC, comment #1: 

Fixed in CVS on 23rd Feb 2005.

the 80% calculations in switch was failing due to overflow.
Fixed with :

- if(((range * 80) / 100) <= numValues)
+ if(((range * 4) / 5) <= numValues && range < 0x1fffffff)

I very much appreciate the precise test case !!.

Gopal.V <t3rmin4t0r>
Group administrator
Sun 20 Feb 2005 03:30:53 PM UTC, original submission:  

If using some sets of integers, the 
C# compiler hangs for the switch statement.
The cscc process has to be killed.
An .objtmp file is left over.

Marco Bosatta <mboss>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #2598:  crash.cs added by mboss (1005B - application/octet-stream - verify the bug with attached code)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-02-22 t3rmin4t0r StatusNone Fixed
    Open/ClosedOpen Closed
2005-02-20 mboss Attached File- Added crash.cs, #2220

Back to the top

Powered by Savane 3.15-94dd.
Corresponding source code