I have used icc for many years and now getting started with icx and find that the compiler options "-fno-alias" and "-restrict" are missing. These options are important for program performance written in C. Why are they not included in the icx compiler?
Thanks in advance.
Thanks for reaching out to us.
We see that "-fno-alias" option is supported by the ICX compiler. Please refer to the screenshot below.
Regarding the removal of the "-restrict" option, we will get back to you soon.
Thanks & Regards,
Hi, thank you for the info!
I was reading the man page of icx by `man icx` and did not find `-fno-alias`. I really like the icc manual, which is several thousands of pages, but very complete and with examples. It takes time for icx, I think.
The icx man page isn’t up to date yet. The LLVM based Intel Compiler (icx) maintains the expectation to be compatible with the current Intel Compiler product. There are options and capabilities that we may support in the future but are not currently available. There are also options we do not plan to support.
You can execute: “icx -qnextgen-diag test.c” to get the full list of what options are to be supported/removed in icx.
-restrict option is on the removed list. (Notice that: LLVM clang doesn't support -restrict as well).