Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*

Pointer checks and memory bounds

epardo
Beginner
590 Views

The former icpc was able to check bounds of dynamically allocated memory and memory related to pointers by using flags like

icpc -check-pointers=rw

That was very useful for debugging programs, specially for early stage programmers in our team. However, with the new compiler versions like icpx this flag does not work. Is there any option to check memory bounds and pointers with icpx?

0 Kudos
1 Solution
2 Replies
epardo
Beginner
445 Views

Thanks a lot!

0 Kudos
Reply