mgorny wrote:

The added test fails on 32-bit x86:

```
FAIL: Clang :: C/C2y/n3244.c (1461 of 20066)
******************** TEST 'Clang :: C/C2y/n3244.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: 
/var/tmp/portage/sys-devel/clang-19.0.0_pre20240713/work/x/y/clang-abi_x86_32.x86/bin/clang
 -cc1 -internal-isystem 
/var/tmp/portage/sys-devel/clang-19.0.0_pre20240713/work/x/y/clang-abi_x86_32.x86/bin/../../../../lib/clang/19/include
 -nostdsysteminc -std=c2y 
/var/tmp/portage/sys-devel/clang-19.0.0_pre20240713/work/clang/test/C/C2y/n3244.c
 -verify -Wno-gnu-alignof-expression
+ 
/var/tmp/portage/sys-devel/clang-19.0.0_pre20240713/work/x/y/clang-abi_x86_32.x86/bin/clang
 -cc1 -internal-isystem 
/var/tmp/portage/sys-devel/clang-19.0.0_pre20240713/work/x/y/clang-abi_x86_32.x86/bin/../../../../lib/clang/19/include
 -nostdsysteminc -std=c2y 
/var/tmp/portage/sys-devel/clang-19.0.0_pre20240713/work/clang/test/C/C2y/n3244.c
 -verify -Wno-gnu-alignof-expression
error: 'expected-error' diagnostics seen but not expected: 
  File 
/var/tmp/portage/sys-devel/clang-19.0.0_pre20240713/work/clang/test/C/C2y/n3244.c
 Line 59: static assertion failed due to requirement '_Alignof 
(CompatibleAlignment) == _Alignof(long long)': 
error: 'expected-note' diagnostics seen but not expected: 
  File 
/var/tmp/portage/sys-devel/clang-19.0.0_pre20240713/work/clang/test/C/C2y/n3244.c
 Line 59: expression evaluates to '8 == 4'
2 errors generated.

--

********************
```

https://github.com/llvm/llvm-project/pull/98525
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to