- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
From v16 update 3 on the following code generates an error, for code wich looks valid:
>icl main.cpp Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.2.187 Build 20170213 Copyright (C) 1985-2017 Intel Corporation. All rights reserved. main.cpp main.cpp(8): internal error: assertion failed at: "shared/cfe/edgcpfe/folding.c", line 8623 if (__has_assign(R)) ^ compilation aborted for main.cpp (code 4)
The code in question is:
#include <stdio.h> struct R { void operator=(R& r) {} }; int main() { if (__has_assign(R)) printf("success\n"); else printf("fail\n"); return 0; }
The problem is that with my project similar code comes from the product SDK headers to which we integrate and don't have control of.
Best regards,
Alexander
- Tags:
- CC++
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Report for 64-bit 18.0 beta compiler is the same except for line number in folding.c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for reporting this an providing a small test case. This is still a problem in our development compiler and I have submitted a bug report (CMPLRS-42841) in our internal bugs database. We will try to fix this as soon as possible.
Judy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, are there any news on this issue?
Best regards,
Alexander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
this issue is fixed in 18.0 compiler. you can download it from Intel Registration Center.
Please report bugs to Intel Online Service center in the future and you'll get notified when the bug is fixed.
Thanks,
Jennifer

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