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.
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results