[clang] [C2y] Claim partial conformance to WG14 N3244 (PR #98525)

Michał Górny via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 13 05:09:34 PDT 2024


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


More information about the cfe-commits mailing list