Compiling local static auto object causes internal compiler error - by Oogle

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.


1
0
Sign in
to vote
ID 696412 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 10/24/2011 11:05:49 AM
Access Restriction Public
Moderator Decision Sent to Engineering Team for consideration

Description

When using the auto keyword for local static objects (not primitive types), compiling the code with release build optimizations causes a compiler crash.
Sign in to post a comment.
Posted by Microsoft on 11/15/2011 at 10:13 AM
Hi:
    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 Oogle on 10/27/2011 at 3:50 PM
Thanks for being able to reproduce it. Would you happen to know which flag I can avoid/modify to allow me to still use the auto keyword? Also, should I expect this to be resolved in the next release (VS2011?)?
Posted by Microsoft on 10/27/2011 at 3:30 PM
Please disregard the previous message. It does take the exact command-line argument to reproduce it.

Tanveer Gani
Visual C++ Team.
Posted by Microsoft on 10/27/2011 at 3:24 PM
Thank you for reporting this issue to Microsoft. This has already been fixed in the next release of the compiler.

Tanveer Gani
Visual C++ Team
Posted by MS-Moderator07 [Feedback Moderator] on 10/24/2011 at 11:29 PM
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 10/24/2011 at 11:45 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)