@@ -703,7 +703,7 @@ stest_i2_r16_d1_tst_c stest_i4_r16_d1_tst_c stest_i8_r16_d1_tst_c stest_i2_r16_d
703703
704704# Intel ifx
705705XFORT := ifx #-stand f$(FS)
706- XFORT := $(XFORT) -warn all -debug extended -warn errors -traceback -debug-parameters all #-diag-error-limit 1
706+ XFORT := $(XFORT) -warn all -debug full -warn errors -traceback -debug-parameters all #-diag-error-limit 1
707707# `-auto` causes all local, non-SAVEd variables to be allocated to the run-time stack.
708708# `-no-heap-arrays`, which is the default for `ifort`, causes the compiler puts automatic arrays
709709# and temporary arrays in the stack storage area. We enable them for small problems to verify that
@@ -718,44 +718,38 @@ ifeq ($(TESTDIM),small)
718718else
719719 XFORT := $(XFORT) -auto -heap-arrays
720720endif
721- XFORT := $(XFORT) -fimplicit-none - standard-semantics -assume recursion
721+ XFORT := $(XFORT) -standard-semantics -assume recursion
722722ifeq ($(OSTYPE),LINUX)
723723 XFORT := $(XFORT) -Wl,-z,noexecstack
724724endif
725725
726726# In the following, `-check all,nouninit` can be changed to `-check all` later, probably with OneAPI 2024.1. See
727727# https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1533430
728728xtest_i2_r4_d1_tst_c xtest_i4_r4_d1_tst_c xtest_i8_r4_d1_tst_c xtest_i2_r4_d0_tst_c xtest_i4_r4_d0_tst_c xtest_i8_r4_d0_tst_c: \
729- FCO := $(XFORT) $(FFLAGSO) -fp-trap=divzero
729+ FCO := $(XFORT) $(FFLAGSO)
730730xtest_i2_r4_d1_tst_c xtest_i4_r4_d1_tst_c xtest_i8_r4_d1_tst_c xtest_i2_r4_d0_tst_c xtest_i4_r4_d0_tst_c xtest_i8_r4_d0_tst_c: \
731- FCG := $(XFORT) $(FFLAGSG) -check all,nouninit -fp-trap=divzero
731+ FCG := $(XFORT) $(FFLAGSG) -check all,nouninit
732732xtest_i2_r4_d1_tst_c xtest_i4_r4_d1_tst_c xtest_i8_r4_d1_tst_c xtest_i2_r4_d0_tst_c xtest_i4_r4_d0_tst_c xtest_i8_r4_d0_tst_c: \
733- FCF := $(XFORT) -fp-trap=divzero $(XFF)
733+ FCF := $(XFORT) $(XFF)
734734
735735xtest_i2_r8_d1_tst_c xtest_i4_r8_d1_tst_c xtest_i8_r8_d1_tst_c xtest_i2_r8_d0_tst_c xtest_i4_r8_d0_tst_c xtest_i8_r8_d0_tst_c: \
736736 FCO := $(XFORT) $(FFLAGSO) -ftrapuv -fpe0 -fpe-all=0 -assume ieee_fpe_flags \
737- -fp-trap=divzero,overflow#invalid,underflow,denormal
738737 #-no-ftz
739738xtest_i2_r8_d1_tst_c xtest_i4_r8_d1_tst_c xtest_i8_r8_d1_tst_c xtest_i2_r8_d0_tst_c xtest_i4_r8_d0_tst_c xtest_i8_r8_d0_tst_c: \
740739 FCG := $(XFORT) $(FFLAGSG) -check all,nouninit -ftrapuv -fpe0 -fpe-all=0 -assume ieee_fpe_flags \
741- -fp-trap=divzero,overflow#invalid,underflow,denormal
742740 #-no-ftz
743741xtest_i2_r8_d1_tst_c xtest_i4_r8_d1_tst_c xtest_i8_r8_d1_tst_c xtest_i2_r8_d0_tst_c xtest_i4_r8_d0_tst_c xtest_i8_r8_d0_tst_c: \
744- FCF := $(XFORT) -ftrapuv -fpe0 -fpe-all=0 -assume ieee_fpe_flags \
745- -fp-trap=divzero,overflow $(XFF)
742+ FCF := $(XFORT) -ftrapuv -fpe0 -fpe-all=0 -assume ieee_fpe_flags $(XFF)
746743
747744
748745xtest_i2_r16_d1_tst_c xtest_i4_r16_d1_tst_c xtest_i8_r16_d1_tst_c xtest_i2_r16_d0_tst_c xtest_i4_r16_d0_tst_c xtest_i8_r16_d0_tst_c: \
749746 FCO := $(XFORT) $(FFLAGSO) -ftrapuv -fpe0 -fpe-all=0 -assume ieee_fpe_flags \
750- -fp-trap=divzero,overflow#invalid,underflow,denormal
751747 #-no-ftz
752748xtest_i2_r16_d1_tst_c xtest_i4_r16_d1_tst_c xtest_i8_r16_d1_tst_c xtest_i2_r16_d0_tst_c xtest_i4_r16_d0_tst_c xtest_i8_r16_d0_tst_c: \
753749 FCG := $(XFORT) $(FFLAGSG) -check all,nouninit -ftrapuv -fpe0 -fpe-all=0 -assume ieee_fpe_flags \
754- -fp-trap=divzero,overflow#invalid,underflow,denormal
755750 #-no-ftz
756751xtest_i2_r16_d1_tst_c xtest_i4_r16_d1_tst_c xtest_i8_r16_d1_tst_c xtest_i2_r16_d0_tst_c xtest_i4_r16_d0_tst_c xtest_i8_r16_d0_tst_c: \
757- FCF := $(XFORT) -ftrapuv -fpe0 -fpe-all=0 -assume ieee_fpe_flags \
758- -fp-trap=divzero,overflow $(XFF)
752+ FCF := $(XFORT) -ftrapuv -fpe0 -fpe-all=0 -assume ieee_fpe_flags $(XFF)
759753
760754
761755# G95
0 commit comments