Search

Internal compiler error in CL.exe by jalf_

Closed
as Fixed Help for as Fixed

4
0
Sign in
to vote
Type: Bug
ID: 699543
Opened: 11/7/2011 3:08:39 AM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
2
User(s) can reproduce this bug
The attached code (taken from the xmlrpc-c library) crashes the CL.exe compiler.
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling version

Visual Studio 2010 SP1

Steps to reproduce

unzip the attached code files
cd src\cpp
cl.exe test\server_abyss.cpp /I"../../include" /D "WIN32" /errorReport:queue /EHsc

And you get the output shown below
The output shown is with the 32-bit compiler, but I get a similar error in the 64-bit one.

Product Language

English

Operating System

Windows 7

Operating System Language

English

Actual results

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.

server_abyss.cpp
test\server_abyss.cpp(230) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'msc1.cpp', line 1420)
To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Internal Compiler Error in C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe. You will be prompted to send an error report
to Microsoft later.

Expected results

CL.exe should not generate a C1001 internal error.
File Attachments
File Name Submitted By Submitted On File Size  
cl-crash.zip 11/7/2011 30 KB
Sign in to post a comment.
Posted by Microsoft on 11/17/2011 at 8:10 PM
Hi: this issue has been fixed. The fix should show up in a future release of Visual C++.

Thank you for reporting the issue.

Jonathan Caves
Visual C++ Compiler Team
Posted by MS-Moderator07 [Feedback Moderator] on 11/7/2011 at 6:28 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 11/7/2011 at 3: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)
Sign in to post a workaround.