Const pointer sign extension not consistent in 64-bit compiler. - by Aaron Stavens

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 622723 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 11/17/2010 1:15:43 PM
Access Restriction Public


It appears that the compiler code that does constant value substitution doesn't agree with how the variable assignment/initialization code does sign extension on pointers. I'm not 100% certain which is correct, but I do believe they should agree.
Sign in to post a comment.
Posted by Bruce Dawson on 10/8/2013 at 4:15 PM
What versions of the compiler is this supposed to be fixed in? I can repro the bug in debug and release in VS 2010 SP1. With VS 2012 the bug happens in debug builds only. I have not tried with VS 2013.

It would be greatly appreciated if when closing a bug as fixed you could tell us what version it is fixed in.
Posted by Xiang [MSFT] on 12/21/2010 at 9:57 AM
Hi Aaron:
    Thanks for reporting the issue.
    A fix for this issue has been checked into the compiler sources. The fix should show up in the next release of Visual C++.

Xiang Fan
Visual C++ Team
Posted by Microsoft on 11/17/2010 at 7:14 PM
Thank you for reporting the issue.
We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution.These specialized experts will follow-up with your issue.
Posted by Microsoft on 11/17/2010 at 1:23 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(