bugDotGNU Portable.NET - Bugs: bug #1916, Fixed expressions are unverifiable

 
 

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

bug #1916: Fixed expressions are unverifiable

Submitted by:  Thong Nguyen <tum>
Submitted on:  Sat 07 Dec 2002 03:02:29 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sun 08 Dec 2002 10:36:28 PM UTC, comment #2:

fixed in CVS ... took a bit longer than expected .. I

Gopal.V <t3rmin4t0r>
Project Administrator
Sun 08 Dec 2002 01:26:50 PM UTC, comment #1:

Could you explain if it is an engine bug or compiler bug ?

I know cscc does not output code for the fixed stmt, so am
looking in the engine right now.

Could you send me a compiled .exe of this program to me ?
(to test ?)

Gopal.V <t3rmin4t0r>
Project Administrator
Sat 07 Dec 2002 03:02:29 AM UTC, original submission:

The following code throws a verification exception. The problem only occurs when trying to "fix" a variable. Works fine if x is a local (stack allocated) variable and doesn't need to be fixed.

--begin-testfix.cs--

using System;

public class Test
{
public static int x;

public static unsafe void Main()
{
unsafe
{
fixed (int *xp = &x)
{
*xp = 0;
}
}
}
}

--end-testfix.cs--

Thong Nguyen <tum>
Project Member

 

No files currently attached

 

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 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 08 Dec 2002 10:37:25 PM UTCt3rmin4t0rStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1