C/C++ compiler crashes on simple code - by Mārtiņš Možeiko

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 740143 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 5/1/2012 11:47:10 PM
Access Restriction Public


Compiler from Visual Studio 2010 SP1 crashes on following simple code when compiling with /O2

int main()
   int x = 2;
    while (x != -1)
        switch (x)
            case 2:
                x = -1;
Sign in to post a comment.
Posted by Microsoft on 5/2/2012 at 5:06 PM
Thanks for taking the time to report this. I was able to reproduce the crash using VS2010 SP1. I can confirm that this issue has been fixed and the problem does not reproduce with the upcoming VS2012 release (Beta downloads now available).

ian Bearman
Principal Developer
VC++ Code Generation & Optimization
Posted by MS-Moderator07 [Feedback Moderator] on 5/2/2012 at 2:06 AM
Thanks for your feedback.

We are rerouting 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 MS-Moderator01 on 5/2/2012 at 12:42 AM
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)