Skip to content

Commit

Permalink
240407.160627.HKT revise fortran test makefile to fix a false positiv…
Browse files Browse the repository at this point in the history
…e of "SIGFPE, Arithmetic exception" in vtest
  • Loading branch information
zaikunzhang committed Apr 7, 2024
1 parent 80b92ff commit 207ad27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fortran/tests/makefiles/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -579,11 +579,11 @@ vtest_i2_r4_d1_tst_c vtest_i4_r4_d1_tst_c vtest_i8_r4_d1_tst_c vtest_i2_r4_d0_ts
FCF := $(VFORT) $(VFF)

vtest_i2_r8_d1_tst_c vtest_i4_r8_d1_tst_c vtest_i8_r8_d1_tst_c vtest_i2_r8_d0_tst_c vtest_i4_r8_d0_tst_c vtest_i8_r8_d0_tst_c: \
FCO := $(VFORT) $(FFLAGSO) -Ktrap=divz,inv#,ovf,unf,denorm -Kieee
FCO := $(VFORT) $(FFLAGSO) -Ktrap=divz#,inv#,ovf,unf,denorm -Kieee
vtest_i2_r8_d1_tst_c vtest_i4_r8_d1_tst_c vtest_i8_r8_d1_tst_c vtest_i2_r8_d0_tst_c vtest_i4_r8_d0_tst_c vtest_i8_r8_d0_tst_c: \
FCG := $(VFORT) $(FFLAGSG) -Ktrap=divz,inv#,ovf,unf,denorm -Kieee
FCG := $(VFORT) $(FFLAGSG) -Ktrap=divz#,inv#,ovf,unf,denorm -Kieee
vtest_i2_r8_d1_tst_c vtest_i4_r8_d1_tst_c vtest_i8_r8_d1_tst_c vtest_i2_r8_d0_tst_c vtest_i4_r8_d0_tst_c vtest_i8_r8_d0_tst_c: \
FCF := $(VFORT) -Ktrap=inv $(VFF)
FCF := $(VFORT) $(VFF) #-Ktrap=inv $(VFF)

vtest_i2_r16_d1_tst_c vtest_i4_r16_d1_tst_c vtest_i8_r16_d1_tst_c vtest_i2_r16_d0_tst_c vtest_i4_r16_d0_tst_c vtest_i8_r16_d0_tst_c: \
FCO := $(VFORT) $(FFLAGSO) -Ktrap=divz,ovf,inv#,unf,denorm -Kieee
Expand Down

0 comments on commit 207ad27

Please sign in to comment.