diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-11-01 21:12:11 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-12-21 01:46:00 -0500 |
commit | 8ea79a16c57a9fcfd091ab7f4aa457e100fa42b5 (patch) | |
tree | 77d85883564bc1f99d3950aa48aa1d5d422b86f9 /testsuite/tests | |
parent | d47bb1099f388b68116dabf16afb1c551eb9588a (diff) | |
download | haskell-8ea79a16c57a9fcfd091ab7f4aa457e100fa42b5.tar.gz |
Rename -fcatch-bottoms to -fcatch-nonexhaustive-cases
As noted in #20601, the previous name was rather misleading.
Diffstat (limited to 'testsuite/tests')
-rw-r--r-- | testsuite/tests/codeGen/should_compile/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/testsuite/tests/codeGen/should_compile/Makefile b/testsuite/tests/codeGen/should_compile/Makefile index 58f3609cc9..2da161c879 100644 --- a/testsuite/tests/codeGen/should_compile/Makefile +++ b/testsuite/tests/codeGen/should_compile/Makefile @@ -58,9 +58,10 @@ T15155l: '$(TEST_HC)' $(TEST_HC_OPTS) -c -O0 -ddump-llvm T15155l.hs 2>/dev/null | \ grep -F "@T15155_b_closure = alias i8, i8* @T15155_a_closure" -# Without -fcatch-bottoms `f` is non-CAFFY. With -fcatch-bottoms it becomes -# CAFFY. Before CafInfo rework (c846618a) this used to cause incorrect CafInfo -# attached to `f` in the interface file. +# Without -fcatch-nonexhaustive-cases `f` is non-CAFFY. With +# -fcatch-nonexhaustive-cases it becomes CAFFY. Before CafInfo rework +# (c846618a) this used to cause incorrect CafInfo attached to `f` in the +# interface file. T17648: # -dno-typeable-binds is to make the iface simpler # -O is necessary as otherwise we don't write interface pragmas (e.g. @@ -69,8 +70,8 @@ T17648: '$(TEST_HC)' --show-iface T17648.hi | tr -d '\n\r' | \ grep -F 'f :: T GHC.Types.Int -> () [HasNoCafRefs, LambdaFormInfo' >/dev/null - # Second compilation with -fcatch-bottoms, f should be CAFFY + # Second compilation with -fcatch-nonexhaustive-cases, f should be CAFFY '$(TEST_HC)' $(TEST_HC_OPTS) -dno-typeable-binds -O \ - -fcatch-bottoms T17648.hs -v0 -fforce-recomp + -fcatch-nonexhaustive-cases T17648.hs -v0 -fforce-recomp '$(TEST_HC)' --show-iface T17648.hi | tr -d '\n\r' | \ grep -F 'f :: T GHC.Types.Int -> () [LambdaFormInfo' >/dev/null |