Do the nvc and nvc++ compilers support -Mbounds option for run-time bounds checking, as the PGI compilers do?
Yes, -Mbounds is still available in nvc and nvc++. No change from PGI and is same it was with pgcc and pgc++. Though as before, array bounds check in C/C++ is quite limited since the runtime doesn’t have bounds information when using unbounded pointers. It’s really only useful with fixed size arrays.
I personally only use -Mbounds with Fortran and instead use Valgrind with C/C++ for memory checking.