Home Dashboard Directory Help
Search

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


Status: 

Closed
 as Fixed Help for as Fixed


1
0
Sign in
to vote
Type: Bug
ID: 622723
Opened: 11/17/2010 1:15:43 PM
Access Restriction: Public
0
Workaround(s)
view
1
User(s) can reproduce this bug

Description

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.
Details
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 Microsoft 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(http://support.microsoft.com)
Sign in to post a workaround.