I need to debug some pure functions in a fortran Program compiled with gfortran. Is there any way to ignore the pure statements so I can use
pure
You can use a macro and use the -cpp flag.
-cpp
#define pure pure subroutine s print *,"hello" end