I would like to temporarily disable a gfortran compiler option for a piece of Fortran code. I am looking for something like:
!GFORTRAN$ PUSH_OPTION(-fcheck=bounds)
SUBROUTINE FOO(BAR)
INTEGER BAR(*)
! ...
END SUBROUTINE FOO
!GFORTRAN$ POP_OPTION
It looks like gcc/g++ do not have such compiler directive. Is that possible to achieve that with gfortran?