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*
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Pointer checks and memory bounds

epardo
Beginner
733 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
588 Views

Thanks a lot!

0 Kudos
Reply