Community
cancel
Showing results for 
Search instead for 
Did you mean: 
vzecca
Beginner
372 Views

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

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

Must be compiled with -fpermissive option

 

// icpx -fpermissive ICE in std::__1::default_delete<llvm::APFloat
enum flag { OFF, ON };
enum BOOL { FALSE = (enum flag) 0, TRUE };

0 Kudos
8 Replies
PrasanthD_intel
Moderator
361 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

vzecca
Beginner
353 Views

Did you compile with -fpermissive option as I asked you,

and it is repeated in the first line of the source code?

I could not see it in the screenshot.

Viet_H_Intel
Moderator
343 Views

You won't see the crash anymore with newer icpx versions.

$ icpx t9.cpp -c -fpermissive -V

Intel(R) oneAPI DPC++/C++ Compiler Pro for applications running on Intel(R) 64, Version 2021.1 Beta Build 20200827

Copyright (C) 1985-2020 Intel Corporation. All rights reserved.


error: unknown argument: '-gnu-permissive'

$



vzecca
Beginner
333 Views

How can I download the latest version of icpx build 20200827?

My license expires on September 30.

Viet_H_Intel
Moderator
325 Views

You should be able to download the latest version from https://registrationcenter.intel.com/,


Viet_H_Intel
Moderator
73 Views

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


Thanks,


vzecca
Beginner
67 Views

Fixed, please close the issue.

Viet_H_Intel
Moderator
61 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