- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following code produces error when get compiled by Intel C++ 16 on Windows:
__m128 boo; __m128 foo {boo};
The compiler emits this error:
error : no suitable conversion function from "__m128" to "float" exists __m128 foo {boo}; ^
I get the same error with `__m256` type.
This violates 8.5.4 List-initialization [dcl.init.list]:
8.5.4.3.7 Otherwise, if the initializer list has a single element of type E and either T is not a reference type or
its referenced type is reference-related to E, the object or reference is initialized from that element (by
copy-initialization for copy-list-initialization, or by direct-initialization for direct-list-initialization)...
Does it relate to "ICL can't deduce variable type when a variable is declared using a placeholder type (auto) [bug since C++17]"? I mean: is it also fixed in Intel C++ 17?
- 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
Hi Ruslan,
Thanks for catching this issue. This is not fixed and I've filed an issue with the developers (CQ: DPD200408653) and will keep you updated as soon as the release with the fix is out. Appreciate your patience till then.
Regards,
Kittur
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ruslan,
That appears to be the case and I'll check with the product team and will confirm and update you soon. Appreciate your patience till then.
Kittur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ruslan,
Thanks for catching this issue. This is not fixed and I've filed an issue with the developers (CQ: DPD200408653) and will keep you updated as soon as the release with the fix is out. Appreciate your patience till then.
Regards,
Kittur

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