VS2010 x64 Compiler generates crash when passing aligned arguments. - by MWassmer42

Status : 


Sign in
to vote
ID 775847 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 1/4/2013 5:47:09 PM
Access Restriction Public


In some cases passing __declspec(aligned) arguments into a function will cause crashes at runtime when compiling in x64.  Compiling in x86 actually throws a compiler error.  Compiling in x64 should either throw the compiler error or (preferably) work.  I"m attaching sample code that exhibits the problem under VS2010 SP1.  Interestingly, this problem seems to already be fixed on VS2012 (couldn't repro on VS2012), but we really need it also fixed on 2010.

Sign in to post a comment.
Posted by Microsoft on 1/6/2013 at 6:56 PM
The product team itself no longer directly accepting feedback for Microsoft Visual Studio 2010 and earlier products. You can get support for issues with Visual Studio 2010 and earlier by visiting one of the resources in the link below:
Posted by Microsoft on 1/4/2013 at 5:51 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)