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

Submitted by:  Marco Bosatta <mboss>
Submitted on:  Sun 20 Feb 2005 03:30:53 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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>
Project 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>

 

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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 22 Feb 2005 08:50:25 AM UTCt3rmin4t0rStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Sun 20 Feb 2005 03:30:53 PM UTCmbossAttached File-=>Added crash.cs, #2220

Back to the top


Powered by Savane 3.1-cleanup1