- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using icpc (ICC) 19.0.1.144 20181018. The following (stand alone) code compiles and links as expected when using
"icpc -std=c++17 error.cpp -o exec"
However, building a debug executable by turning on either -g or -O0 flag results in a linker error.
// error.cpp #include <vector> constexpr bool decider = false; void Function() { std::vector<unsigned long long> v1; if constexpr( decider ) { if( false ) {} std::vector<unsigned long long> v2 = v1; } } int main() {return 0;}
- Tags:
- CC++
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank for report this issue. I've filed a bug #CMPLRIL0-31019 to track it.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page