--- trunk/Compilers/gfortran_debug.mk 2013/07/08 18:12:18 71 +++ trunk/Compiler_options/gfortran_debug.mk 2014/03/06 17:35:22 85 @@ -13,21 +13,19 @@ FFLAGS = $(addprefix -I, ${netcdf_inc_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir}) # Fortran language options: -FFLAGS += -std=f95 +FFLAGS += -ffree-form -std=f95 # Error and warning options: -FFLAGS += -fmax-errors=1 -pedantic-errors -Wall -Wcharacter-truncation -Wconversion -Wimplicit-interface -Wunderflow -Wextra -Wunreachable-code +FFLAGS += -fmax-errors=1 -pedantic-errors -Wall -Wcharacter-truncation -Wunderflow -Wunreachable-code # Debugging options: -FFLAGS += -ffpe-trap=invalid,zero,overflow -fbacktrace -fdump-core -g3 +FFLAGS += -ffpe-trap=invalid,zero,overflow -fbacktrace -fdump-core -g # Code generation options: -FFLAGS += -fbounds-check -finit-real=nan +FFLAGS += -fcheck=bounds -fcheck=do -fcheck=mem -fcheck=pointer -fcheck=recursion -finit-real=SNAN # Optimization options: -FFLAGS += -O0 -fstack-protector-all - -F90FLAGS = ${FFLAGS} +FFLAGS += -O0 LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir}) -ljumble -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec_95 -lnr_util