https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/230051
__ptr32 has no effect on a 32-bit system where addresses are already 32-bit. This means no error and no error means the test fails. Fixes #224680. >From 457af8d30206b7b364aed59090cb92d00877575b Mon Sep 17 00:00:00 2001 From: David Spickett <[email protected]> Date: Thu, 8 Oct 2026 10:21:46 +0000 Subject: [PATCH] [clang][Sema] Use 64-bit triple in throw-address-space.cpp __ptr32 has no effect on a 32-bit system where addresses are already 32-bit. This means no error and no error means the test fails. Fixes #224680. --- clang/test/Sema/throw-address-space.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Sema/throw-address-space.cpp b/clang/test/Sema/throw-address-space.cpp index 0f085d13ae0cb..2a18a1f97a917 100644 --- a/clang/test/Sema/throw-address-space.cpp +++ b/clang/test/Sema/throw-address-space.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -fcxx-exceptions -fexceptions -fms-extensions -verify %s +// RUN: %clang_cc1 -triple x86_64-linux-gnu -fsyntax-only -fcxx-exceptions -fexceptions -fms-extensions -verify %s // Test for issue (https://github.com/llvm/llvm-project/issues/222931). // Reject throwing/catching pointers and references whose pointee/referred type _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
