From de8720123728d50dcd3825b306d2c3fc841aa4b5 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Sat, 14 Jan 2017 12:13:53 +0100 Subject: [PATCH] Mark crashers as fixed. --- ...unreachable-executed-at-swift-lib-ast-type-cpp-1325.swift | 3 +-- ...xecuted-at-swift-include-swift-ast-typevisitor-h-39.swift | 3 +-- ...xecuted-at-swift-include-swift-ast-typevisitor-h-39.swift | 5 +---- ...xecuted-at-swift-include-swift-ast-typevisitor-h-39.swift | 3 +-- ...unreachable-executed-at-swift-lib-ast-type-cpp-1318.swift | 3 +-- .../28606-swift-typebase-getcanonicaltype.swift | 3 +-- ...graph-bindtypevariable-swift-typevariabletype-swift.swift | 3 +-- ...s-impl-getgraphindex-typevar-type-variable-mismatch.swift | 4 +--- ...unreachable-executed-at-swift-lib-ast-type-cpp-1130.swift | 2 -- ...s-impl-getgraphindex-typevar-type-variable-mismatch.swift | 3 +-- ...verifychecked-swift-type-llvm-smallptrset-swift-arc.swift | 5 +---- ...-arrayref-swift-tupletypeelt-swift-astcontext-const.swift | 3 +-- .../28641-result-case-not-implemented.swift | 1 - ...-arrayref-swift-tupletypeelt-swift-astcontext-const.swift | 3 +-- ...type-swift-type-swift-anyfunctiontype-extinfo-const.swift | 3 +-- 15 files changed, 13 insertions(+), 34 deletions(-) rename validation-test/{compiler_crashers => compiler_crashers_fixed}/28474-unreachable-executed-at-swift-lib-ast-type-cpp-1325.swift (79%) rename validation-test/{compiler_crashers => compiler_crashers_fixed}/28479-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift (79%) rename validation-test/{compiler_crashers => compiler_crashers_fixed}/28543-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift (64%) rename validation-test/{compiler_crashers => compiler_crashers_fixed}/28550-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift (80%) rename validation-test/{compiler_crashers => compiler_crashers_fixed}/28555-unreachable-executed-at-swift-lib-ast-type-cpp-1318.swift (79%) rename validation-test/{compiler_crashers => compiler_crashers_fixed}/28606-swift-typebase-getcanonicaltype.swift (80%) rename validation-test/{compiler_crashers => compiler_crashers_fixed}/28615-swift-constraints-constraintgraph-bindtypevariable-swift-typevariabletype-swift.swift (80%) rename validation-test/{compiler_crashers => compiler_crashers_fixed}/28621-typevariables-impl-getgraphindex-typevar-type-variable-mismatch.swift (78%) rename validation-test/{compiler_crashers => compiler_crashers_fixed}/28633-typevariables-impl-getgraphindex-typevar-type-variable-mismatch.swift (80%) rename validation-test/{compiler_crashers => compiler_crashers_fixed}/28634-anonymous-namespace-verifier-verifychecked-swift-type-llvm-smallptrset-swift-arc.swift (67%) rename validation-test/{compiler_crashers => compiler_crashers_fixed}/28637-swift-tupletype-get-llvm-arrayref-swift-tupletypeelt-swift-astcontext-const.swift (80%) rename validation-test/{compiler_crashers => compiler_crashers_fixed}/28643-swift-tupletype-get-llvm-arrayref-swift-tupletypeelt-swift-astcontext-const.swift (81%) rename validation-test/{compiler_crashers => compiler_crashers_fixed}/28644-swift-functiontype-get-swift-type-swift-type-swift-anyfunctiontype-extinfo-const.swift (80%) diff --git a/validation-test/compiler_crashers/28474-unreachable-executed-at-swift-lib-ast-type-cpp-1325.swift b/validation-test/compiler_crashers_fixed/28474-unreachable-executed-at-swift-lib-ast-type-cpp-1325.swift similarity index 79% rename from validation-test/compiler_crashers/28474-unreachable-executed-at-swift-lib-ast-type-cpp-1325.swift rename to validation-test/compiler_crashers_fixed/28474-unreachable-executed-at-swift-lib-ast-type-cpp-1325.swift index 3eec44e8b0346..0fd3d456defcb 100644 --- a/validation-test/compiler_crashers/28474-unreachable-executed-at-swift-lib-ast-type-cpp-1325.swift +++ b/validation-test/compiler_crashers_fixed/28474-unreachable-executed-at-swift-lib-ast-type-cpp-1325.swift @@ -5,6 +5,5 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// REQUIRES: deterministic-behavior -// RUN: not --crash %target-swift-frontend %s -emit-ir +// RUN: not %target-swift-frontend %s -emit-ir b[print{$0{ diff --git a/validation-test/compiler_crashers/28543-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift b/validation-test/compiler_crashers_fixed/28543-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift similarity index 64% rename from validation-test/compiler_crashers/28543-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift rename to validation-test/compiler_crashers_fixed/28543-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift index 0ab5ba5c0e684..538a668781f02 100644 --- a/validation-test/compiler_crashers/28543-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift +++ b/validation-test/compiler_crashers_fixed/28543-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift @@ -5,8 +5,5 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// This test is disabled because it may fail to crash on the Ubuntu 14.04 host. -// REQUIRES: deterministic-behavior -// REQUIRES: deterministic-behavior -// RUN: not --crash %target-swift-frontend %s -emit-ir +// RUN: not %target-swift-frontend %s -emit-ir ([-.f\n{}{$0(n&[]{ diff --git a/validation-test/compiler_crashers/28550-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift b/validation-test/compiler_crashers_fixed/28550-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift similarity index 80% rename from validation-test/compiler_crashers/28550-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift rename to validation-test/compiler_crashers_fixed/28550-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift index e6bf4e7f31563..921d39b68a549 100644 --- a/validation-test/compiler_crashers/28550-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift +++ b/validation-test/compiler_crashers_fixed/28550-unreachable-executed-at-swift-include-swift-ast-typevisitor-h-39.swift @@ -5,7 +5,6 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// REQUIRES: deterministic-behavior -// RUN: not --crash %target-swift-frontend %s -emit-ir +// RUN: not %target-swift-frontend %s -emit-ir f\n&[print{$0 e diff --git a/validation-test/compiler_crashers/28555-unreachable-executed-at-swift-lib-ast-type-cpp-1318.swift b/validation-test/compiler_crashers_fixed/28555-unreachable-executed-at-swift-lib-ast-type-cpp-1318.swift similarity index 79% rename from validation-test/compiler_crashers/28555-unreachable-executed-at-swift-lib-ast-type-cpp-1318.swift rename to validation-test/compiler_crashers_fixed/28555-unreachable-executed-at-swift-lib-ast-type-cpp-1318.swift index 03e7e53576861..c98ac070b3cb9 100644 --- a/validation-test/compiler_crashers/28555-unreachable-executed-at-swift-lib-ast-type-cpp-1318.swift +++ b/validation-test/compiler_crashers_fixed/28555-unreachable-executed-at-swift-lib-ast-type-cpp-1318.swift @@ -5,7 +5,6 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// REQUIRES: deterministic-behavior -// RUN: not --crash %target-swift-frontend %s -emit-ir +// RUN: not %target-swift-frontend %s -emit-ir _&[i -{$0 diff --git a/validation-test/compiler_crashers/28606-swift-typebase-getcanonicaltype.swift b/validation-test/compiler_crashers_fixed/28606-swift-typebase-getcanonicaltype.swift similarity index 80% rename from validation-test/compiler_crashers/28606-swift-typebase-getcanonicaltype.swift rename to validation-test/compiler_crashers_fixed/28606-swift-typebase-getcanonicaltype.swift index b0257bde759ae..eb2bdfb76023a 100644 --- a/validation-test/compiler_crashers/28606-swift-typebase-getcanonicaltype.swift +++ b/validation-test/compiler_crashers_fixed/28606-swift-typebase-getcanonicaltype.swift @@ -5,6 +5,5 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// REQUIRES: deterministic-behavior -// RUN: not --crash %target-swift-frontend %s -emit-ir +// RUN: not %target-swift-frontend %s -emit-ir print([.h.h=#keyPath(n&_=(){ diff --git a/validation-test/compiler_crashers/28615-swift-constraints-constraintgraph-bindtypevariable-swift-typevariabletype-swift.swift b/validation-test/compiler_crashers_fixed/28615-swift-constraints-constraintgraph-bindtypevariable-swift-typevariabletype-swift.swift similarity index 80% rename from validation-test/compiler_crashers/28615-swift-constraints-constraintgraph-bindtypevariable-swift-typevariabletype-swift.swift rename to validation-test/compiler_crashers_fixed/28615-swift-constraints-constraintgraph-bindtypevariable-swift-typevariabletype-swift.swift index 1cac17ec301c4..ccd89328bc991 100644 --- a/validation-test/compiler_crashers/28615-swift-constraints-constraintgraph-bindtypevariable-swift-typevariabletype-swift.swift +++ b/validation-test/compiler_crashers_fixed/28615-swift-constraints-constraintgraph-bindtypevariable-swift-typevariabletype-swift.swift @@ -5,6 +5,5 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// REQUIRES: deterministic-behavior -// RUN: not --crash %target-swift-frontend %s -emit-ir +// RUN: not %target-swift-frontend %s -emit-ir print(_===#keyPath(t>c diff --git a/validation-test/compiler_crashers/28621-typevariables-impl-getgraphindex-typevar-type-variable-mismatch.swift b/validation-test/compiler_crashers_fixed/28621-typevariables-impl-getgraphindex-typevar-type-variable-mismatch.swift similarity index 78% rename from validation-test/compiler_crashers/28621-typevariables-impl-getgraphindex-typevar-type-variable-mismatch.swift rename to validation-test/compiler_crashers_fixed/28621-typevariables-impl-getgraphindex-typevar-type-variable-mismatch.swift index bea13fb64368b..5e313ac7e81db 100644 --- a/validation-test/compiler_crashers/28621-typevariables-impl-getgraphindex-typevar-type-variable-mismatch.swift +++ b/validation-test/compiler_crashers_fixed/28621-typevariables-impl-getgraphindex-typevar-type-variable-mismatch.swift @@ -5,7 +5,5 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// REQUIRES: deterministic-behavior -// RUN: not --crash %target-swift-frontend %s -emit-ir -// REQUIRES: asserts +// RUN: not %target-swift-frontend %s -emit-ir [{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{}}}($0/(#keyPath(b{{{{{{ diff --git a/validation-test/compiler_crashers_fixed/28632-unreachable-executed-at-swift-lib-ast-type-cpp-1130.swift b/validation-test/compiler_crashers_fixed/28632-unreachable-executed-at-swift-lib-ast-type-cpp-1130.swift index 7cf03a0912d30..076f5231b55f4 100644 --- a/validation-test/compiler_crashers_fixed/28632-unreachable-executed-at-swift-lib-ast-type-cpp-1130.swift +++ b/validation-test/compiler_crashers_fixed/28632-unreachable-executed-at-swift-lib-ast-type-cpp-1130.swift @@ -5,8 +5,6 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// REQUIRES: asserts // RUN: not %target-swift-frontend %s -emit-ir - {func a> print(a==#keyPath(a{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ diff --git a/validation-test/compiler_crashers/28633-typevariables-impl-getgraphindex-typevar-type-variable-mismatch.swift b/validation-test/compiler_crashers_fixed/28633-typevariables-impl-getgraphindex-typevar-type-variable-mismatch.swift similarity index 80% rename from validation-test/compiler_crashers/28633-typevariables-impl-getgraphindex-typevar-type-variable-mismatch.swift rename to validation-test/compiler_crashers_fixed/28633-typevariables-impl-getgraphindex-typevar-type-variable-mismatch.swift index 90f06486eabee..7f38b0d0552e7 100644 --- a/validation-test/compiler_crashers/28633-typevariables-impl-getgraphindex-typevar-type-variable-mismatch.swift +++ b/validation-test/compiler_crashers_fixed/28633-typevariables-impl-getgraphindex-typevar-type-variable-mismatch.swift @@ -5,6 +5,5 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// REQUIRES: deterministic-behavior -// RUN: not --crash %target-swift-frontend %s -emit-ir +// RUN: not %target-swift-frontend %s -emit-ir guard let f===#keyPath(n&_=#keyPath(a diff --git a/validation-test/compiler_crashers/28634-anonymous-namespace-verifier-verifychecked-swift-type-llvm-smallptrset-swift-arc.swift b/validation-test/compiler_crashers_fixed/28634-anonymous-namespace-verifier-verifychecked-swift-type-llvm-smallptrset-swift-arc.swift similarity index 67% rename from validation-test/compiler_crashers/28634-anonymous-namespace-verifier-verifychecked-swift-type-llvm-smallptrset-swift-arc.swift rename to validation-test/compiler_crashers_fixed/28634-anonymous-namespace-verifier-verifychecked-swift-type-llvm-smallptrset-swift-arc.swift index c827f3d748203..2f412e259bd31 100644 --- a/validation-test/compiler_crashers/28634-anonymous-namespace-verifier-verifychecked-swift-type-llvm-smallptrset-swift-arc.swift +++ b/validation-test/compiler_crashers_fixed/28634-anonymous-namespace-verifier-verifychecked-swift-type-llvm-smallptrset-swift-arc.swift @@ -5,8 +5,5 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// This test is disabled because it fails to crash on the Ubuntu 14.04 host. -// REQUIRES: deterministic-behavior -// REQUIRES: deterministic-behavior -// RUN: not --crash %target-swift-frontend %s -emit-ir +// RUN: not %target-swift-frontend %s -emit-ir let E=_==#keyPath(n&_=b:{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ diff --git a/validation-test/compiler_crashers/28637-swift-tupletype-get-llvm-arrayref-swift-tupletypeelt-swift-astcontext-const.swift b/validation-test/compiler_crashers_fixed/28637-swift-tupletype-get-llvm-arrayref-swift-tupletypeelt-swift-astcontext-const.swift similarity index 80% rename from validation-test/compiler_crashers/28637-swift-tupletype-get-llvm-arrayref-swift-tupletypeelt-swift-astcontext-const.swift rename to validation-test/compiler_crashers_fixed/28637-swift-tupletype-get-llvm-arrayref-swift-tupletypeelt-swift-astcontext-const.swift index a4a6cbc962b91..bf5b7b5a2c6e4 100644 --- a/validation-test/compiler_crashers/28637-swift-tupletype-get-llvm-arrayref-swift-tupletypeelt-swift-astcontext-const.swift +++ b/validation-test/compiler_crashers_fixed/28637-swift-tupletype-get-llvm-arrayref-swift-tupletypeelt-swift-astcontext-const.swift @@ -5,8 +5,7 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// REQUIRES: deterministic-behavior -// RUN: not --crash %target-swift-frontend %s -emit-ir +// RUN: not %target-swift-frontend %s -emit-ir print(Integer print( #keyPath(n&_=d diff --git a/validation-test/compiler_crashers_fixed/28641-result-case-not-implemented.swift b/validation-test/compiler_crashers_fixed/28641-result-case-not-implemented.swift index d3370b0ab9172..cc8212d75c81c 100644 --- a/validation-test/compiler_crashers_fixed/28641-result-case-not-implemented.swift +++ b/validation-test/compiler_crashers_fixed/28641-result-case-not-implemented.swift @@ -5,6 +5,5 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// REQUIRES: asserts // RUN: not %target-swift-frontend %s -emit-ir {let β=b&[{{{#keyPath(n&[{{{{{{{{{{{{{{{{{{{{{{{{{{a{{{{s diff --git a/validation-test/compiler_crashers/28643-swift-tupletype-get-llvm-arrayref-swift-tupletypeelt-swift-astcontext-const.swift b/validation-test/compiler_crashers_fixed/28643-swift-tupletype-get-llvm-arrayref-swift-tupletypeelt-swift-astcontext-const.swift similarity index 81% rename from validation-test/compiler_crashers/28643-swift-tupletype-get-llvm-arrayref-swift-tupletypeelt-swift-astcontext-const.swift rename to validation-test/compiler_crashers_fixed/28643-swift-tupletype-get-llvm-arrayref-swift-tupletypeelt-swift-astcontext-const.swift index af242e677e3da..5d7ed119c6523 100644 --- a/validation-test/compiler_crashers/28643-swift-tupletype-get-llvm-arrayref-swift-tupletypeelt-swift-astcontext-const.swift +++ b/validation-test/compiler_crashers_fixed/28643-swift-tupletype-get-llvm-arrayref-swift-tupletypeelt-swift-astcontext-const.swift @@ -5,8 +5,7 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// REQUIRES: deterministic-behavior -// RUN: not --crash %target-swift-frontend %s -emit-ir +// RUN: not %target-swift-frontend %s -emit-ir H print(_==( #keyPath(n&_=b{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ diff --git a/validation-test/compiler_crashers/28644-swift-functiontype-get-swift-type-swift-type-swift-anyfunctiontype-extinfo-const.swift b/validation-test/compiler_crashers_fixed/28644-swift-functiontype-get-swift-type-swift-type-swift-anyfunctiontype-extinfo-const.swift similarity index 80% rename from validation-test/compiler_crashers/28644-swift-functiontype-get-swift-type-swift-type-swift-anyfunctiontype-extinfo-const.swift rename to validation-test/compiler_crashers_fixed/28644-swift-functiontype-get-swift-type-swift-type-swift-anyfunctiontype-extinfo-const.swift index 03e377b2ba3ab..5a394690ebab9 100644 --- a/validation-test/compiler_crashers/28644-swift-functiontype-get-swift-type-swift-type-swift-anyfunctiontype-extinfo-const.swift +++ b/validation-test/compiler_crashers_fixed/28644-swift-functiontype-get-swift-type-swift-type-swift-anyfunctiontype-extinfo-const.swift @@ -5,6 +5,5 @@ // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// REQUIRES: deterministic-behavior -// RUN: not --crash %target-swift-frontend %s -emit-ir +// RUN: not %target-swift-frontend %s -emit-ir [.h=_==Array(#keyPath(t