Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
7651 Discussions

// icpx -fpermissive ICE std::__1::default_delete<llvm::APFloat

vzecca
Beginner
803 Views

The following code provokes an ICE in icpx Version 2021.1 NextGen Beta Build 20200304

Must be compiled with -fpermissive option.

// icpx ICE in APValue
static int array[10] = { array[3]=5, array[7]=3, };

0 Kudos
10 Replies
PrasanthD_intel
Moderator
797 Views

Hi Vittorio,

We have checked this code and didn't get any error while trying to compile with icpx.

We have tested with the same version and also with the latest version.

I have attached a screenshot which contains the code and the result.

Can you please give us a reproducible code so we can check if we had missed anything?

Also if possible please upgrade to latest version and check if you are getting error.

 

Regards

Prasanth

PrasanthD_intel
Moderator
772 Views

Hi Vittorio,

 

Sorry, I have misinterpreted the question and tried to reproduce without -fpermissive flag.

But even with that flag, I haven't seen any error compared to the core dump you are getting in other queries you have raised. I am attaching the screenshot with the details.

Anyway, as suggested in other queries you might have upgraded to the latest version. Please reply if you see the error after upgrading.

Regards

Prasanth

vzecca
Beginner
761 Views

After upgrading icpx to build 20200604 I still get an ICE.

I am attaching the compiler output with options -fpermissive  -V

vzecca
Beginner
758 Views

 After upgrading to build 20200604 I still get the same ICE.

As far as I know the latest icpx build is 20200827. How can I get it?

I have a 30 days license VJDC-682JLXSD that probably does not allow me to access the latest build.

Viet_H_Intel
Moderator
752 Views

Looks to me, you are using icpx for C file. Please use icx for C code and icpx for C++ code.

Nevertheless, compiler shouldn't crash and seems like the one built on 20200827 fixed this issue.


Viet_H_Intel
Moderator
749 Views

beta9 released yesterday, you should be able to download now.


vzecca
Beginner
739 Views

My license does not allow me access to oneAPI

Viet_H_Intel
Moderator
477 Views

Let us know if this is still an issue. Otherwise, we will close it.


Thanks,


vzecca
Beginner
470 Views
Viet_H_Intel
Moderator
462 Views

This issue has been resolved and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.

Thanks,


Reply