Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
13 Views

/Qcheck-pointers-dangling:all causing compiler crash

Hi,

Compiling this simple program:

#include <iostream>

int main(int argc, char *argv[])
{
std::cout << "Hello, world!" << std::endl;
return 0;
}

with the command-line

 icl /Qcheck-pointers:rw /Qcheck-pointers-dangling:all iostst2.cpp -o tst

produces 9156 lines of output starting with:   (full log attached)

Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.3.198 Build 20130607
Copyright (C) 1985-2013 Intel Corporation. All rights reserved.

iostst2.cpp

Proton IL Dump - Routine not allocatable

Routine ?message@_Iostream_error_category@std@@UEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@H@Z EFI
2_MSthis argsize=24
CG states: cg_minit cg_rinit il0_trans postpass dcr sregs opt lwr1 disamb lwr2 pre_ra gra chkplwr imagebase_fixup
target: N/A
EBP based stack
Dynamic Frame Alignment : No
Frame Alignment Amount : 16
IL0 Locals Size : 186.
PCG Locals Size : 460.
PCG Params Size : 32.
ETHER BLOCK for ?message@_Iostream_error_category@std@@UEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@
H@Z
1 0.0 0 vdef Use/ B154.10/ SR:833 RC:833
2 0.0 0 vdef Use/ B154.11/ SR:832 RC:832
3 0.0 0 vdef Use/ B154.12/ SR:831 RC:831
4 0.0 0 vdef Use/ B154.13/ SR:830 RC:830

Am I doing something wrong?  Removing the /Qcheck-pointers-dangling:all removes the error.

This is on Win7.  I have Visual Studio 11 installed.

thanks,

Daniel

0 Kudos
0 Replies