- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This code causes icpc 16.0.0 (20150815) to report "Internal error loop: assertion failed: find_seq_in_lookup_table: seq_number not found (shared/cfe/edgcpfe/il.cc, line 3997)
// Compile with -std=c++11 #include <vector> struct Value { float m_data; Value( ) : m_data(0.f) {} Value( const Value& other ) { m_data = other.m_data; } Value& operator=( const Value& other ) { m_data = other.m_data; return *this; } }; template <typename T> struct Foo { struct Wrapper { Value m_val { Value() }; }; std::vector<Wrapper> m_vec; Wrapper& get() { m_vec.resize(1); return m_vec[0]; } }; template struct Foo<float>;
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I confirmed that our fix for DPD200575935 which was reported by another customer has fixed this problem. That fix was made on Dec 7th so it should be in 16.0 update 2 (which should be available shortly).
Sorry for the inconvenience. We don't know of any workaround.
Judy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, that's great. In my case I was able to work around it by moving the nested struct definitions to the enclosing scope.

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