DotGNU 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: |
Gopal.V <t3rmin4t0r> |
|
Sun 20 Feb 2005 03:30:53 PM UTC, original submission:
If using some sets of integers, the
|
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
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 | Status | None | Fixed | |
| Open/Closed | Open | Closed | |||
| 2005-02-20 | mboss | Attached File | - | Added crash.cs, #2220 |

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 !!.