Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7942 Discussions

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

vzecca
Beginner
1,443 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
1,437 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

0 Kudos
PrasanthD_intel
Moderator
1,412 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

0 Kudos
vzecca
Beginner
1,401 Views

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

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

0 Kudos
vzecca
Beginner
1,398 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.

0 Kudos
Viet_H_Intel
Moderator
1,392 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.


0 Kudos
Viet_H_Intel
Moderator
1,389 Views

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


0 Kudos
vzecca
Beginner
1,379 Views

My license does not allow me access to oneAPI

0 Kudos
Viet_H_Intel
Moderator
1,117 Views

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


Thanks,


0 Kudos
vzecca
Beginner
1,110 Views
0 Kudos
Viet_H_Intel
Moderator
1,102 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,


0 Kudos
Reply