Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7944 Discussions

Out of memory when compiling recursive templates

perroe
Beginner
258 Views

The attached code fails to compile with Intel C++ compiler 13.1. The compiler takes all available memory, and the compilation must be aborted. It compiles neatly with Intel C++ Compiler 12.0 and MS Visual C++ 2010.

C:\src>"C:\Program Files (x86)\Intel\Composer XE 2013\bin\compilervars.bat" intel64 vs2010shell
Intel(R) Parallel Studio XE 2013
Copyright (C) 1985-2013 Intel Corporation. All rights reserved.
Intel(R) Composer XE 2013 Update 3 (package 171)
Setting environment for using Microsoft Visual Studio 2010 x64 tools.

C:\src>"C:\Program Files (x86)\Intel\Composer XE 2013\bin\intel64\icl.exe" -c test_com_time_math.cpp
Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.1.171 Build 20130313
Copyright (C) 1985-2013 Intel Corporation.  All rights reserved.

test_com_time_math.cpp

0 Kudos
1 Reply
Melanie_B_Intel
Employee
258 Views

Thanks for the report. I can reproduce the problem and I've opened DPD200244099 to track this defect.

0 Kudos
Reply