- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to get clarified about the compiler limits of icc 19.0.
What I specifically want to get informed from the compiler limits is "Nesting levels of compound statements, iteration control structures, and selection control structures" in ICC.
In MSVC 2019, it is specified that "generally 100-110" is a recommended upper bound.
In ISO C++11 standard, it says "256" as a minimal upper bound.
There are compiler limits for MSVC and Intel Fortran Compiler specifications available at :
1. MSVC: https://docs.microsoft.com/ko-kr/cpp/cpp/compiler-limits?view=vs-2019
2. Intel Fortran Compiler: https://software.intel.com/en-us/fortran-compiler-developer-guide-and-reference-compiler-limits
Likewise, is there any specification for Intel C++ Compiler?
Otherwise, does the ICC conforms to the ISO C++98 standard as described in the website?
Thank you.
- Tags:
- CC++
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In regards to "Nesting levels of compound statements, iteration control structures, and selection control structures", I tested it by hard-coding and it turned out that ICC accepted until the depth of 2117, whereas MSVC 2019 (vc141) allowed until the depth of 122, in condition of empty body for the if-else statement.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It should be conform to the ISO C++98 standard.
You can check out the compiler guide and reference at: https://software.intel.com/sites/default/files/19.0U1_CPP_Compiler_DGR_0.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In regards to "Nesting levels of compound statements, iteration control structures, and selection control structures", I tested it by hard-coding and it turned out that ICC accepted until the depth of 2117, whereas MSVC 2019 (vc141) allowed until the depth of 122, in condition of empty body for the if-else statement.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page