G++ 4.0.2 currently supports the libmudflap capability
to instrument code to expose problems with pointers.
Mudflap uses the intrinsic machinery of the compiler
to intelligently instrument the code at compile time
instead of after the fact attempts like valgrind. The
instrumentation allows checking and nearly full speed
execution.
Ticket moved from /p/mingw/feature-requests/31/
Is this feasible for MinGW?