Skip to content

Commit 3468967

Browse files
committed
250819.123251.CST [skip ci] revise the FPE trapping flags for xtest in Makefile.common
1 parent 5df70dc commit 3468967

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

fortran/tests/makefiles/Makefile.common

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -728,22 +728,22 @@ xtest_i2_r4_d1_tst_c xtest_i4_r4_d1_tst_c xtest_i8_r4_d1_tst_c xtest_i2_r4_d0_ts
728728
FCF := $(XFORT) -fp-trap=divzero $(XFF)
729729

730730
xtest_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: \
731-
FCO := $(XFORT) $(FFLAGSO) -ftrapuv -fp-trap=divzero,overflow#,invalid,underflow,denormal
731+
FCO := $(XFORT) $(FFLAGSO) -ftrapuv -fp-trap=divzero#,overflow#,invalid,underflow,denormal
732732
#-no-ftz
733733
xtest_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: \
734-
FCG := $(XFORT) $(FFLAGSG) -check all,nouninit -ftrapuv -fp-trap=divzero,overflow#,invalid,underflow,denormal
734+
FCG := $(XFORT) $(FFLAGSG) -check all,nouninit -ftrapuv -fp-trap=divzero#,overflow#,invalid,underflow,denormal
735735
#-no-ftz
736736
xtest_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: \
737-
FCF := $(XFORT) -ftrapuv -fp-trap=divzero,overflow $(XFF)
737+
FCF := $(XFORT) -ftrapuv -fp-trap=divzero $(XFF)
738738

739739
xtest_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: \
740-
FCO := $(XFORT) $(FFLAGSO) -ftrapuv -fp-trap=divzero,overflow#,invalid,underflow,denormal
740+
FCO := $(XFORT) $(FFLAGSO) -ftrapuv -fp-trap=divzero#,overflow#,invalid,underflow,denormal
741741
#-no-ftz
742742
xtest_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: \
743-
FCG := $(XFORT) $(FFLAGSG) -check all,nouninit -ftrapuv -fp-trap=divzero,overflow#invalid,underflow,denormal
743+
FCG := $(XFORT) $(FFLAGSG) -check all,nouninit -ftrapuv -fp-trap=divzero#,overflow#invalid,underflow,denormal
744744
#-no-ftz
745745
xtest_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: \
746-
FCF := $(XFORT) -ftrapuv -fp-trap=divzero,overflow $(XFF)
746+
FCF := $(XFORT) -ftrapuv -fp-trap=divzero $(XFF)
747747

748748
# G95
749749
# G95 supports f2003, but not higher.

0 commit comments

Comments
 (0)