[clang] [C2y] Claim conformance and add test coverage for WG14 N3346 (PR #115516)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 8 10:07:51 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `clang` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/7873

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
[1344/1346] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[1345/1346] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin/clang
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin/wasm-ld
-- Testing: 21449 tests, 60 workers --
Testing:  0.
FAIL: Clang :: C/C2y/n3346.c (1500 of 21449)
******************** TEST 'Clang :: C/C2y/n3346.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/lib/clang/20/include -nostdsysteminc -verify -std=c2y -Wall -pedantic -ffreestanding /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/C/C2y/n3346.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/lib/clang/20/include -nostdsysteminc -verify -std=c2y -Wall -pedantic -ffreestanding /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/C/C2y/n3346.c
error: 'expected-error' diagnostics expected but not seen: 
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/C/C2y/n3346.c Line 52: array initializer must be an initializer list
error: 'expected-error' diagnostics seen but not expected: 
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/C/C2y/n3346.c Line 52: initializing wide char array with non-wide string literal
2 errors generated.

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):
  Clang :: C/C2y/n3346.c


Testing Time: 79.16s

Total Discovered Tests: 45561
  Skipped          :     8 (0.02%)
  Unsupported      :   874 (1.92%)
  Passed           : 44653 (98.01%)
  Expectedly Failed:    25 (0.05%)
  Failed           :     1 (0.00%)
FAILED: tools/clang/test/CMakeFiles/check-clang /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/tools/clang/test/CMakeFiles/check-clang 
cd /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/tools/clang/test && /usr/bin/python3.10 /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/./bin/llvm-lit -sv --param USE_Z3_SOLVER=0 /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/tools/clang/test
ninja: build stopped: subcommand failed.
['ninja', '-C', '/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar', 'check-llvm', 'check-clang', 'check-lld'] exited with return code 1.
@@@STEP_FAILURE@@@
Step 7 (check) failure: check (failure)
...
[1344/1346] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[1345/1346] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin/clang
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin/wasm-ld
-- Testing: 21449 tests, 60 workers --
Testing:  0.
FAIL: Clang :: C/C2y/n3346.c (1500 of 21449)
******************** TEST 'Clang :: C/C2y/n3346.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/lib/clang/20/include -nostdsysteminc -verify -std=c2y -Wall -pedantic -ffreestanding /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/C/C2y/n3346.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/lib/clang/20/include -nostdsysteminc -verify -std=c2y -Wall -pedantic -ffreestanding /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/C/C2y/n3346.c
error: 'expected-error' diagnostics expected but not seen: 
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/C/C2y/n3346.c Line 52: array initializer must be an initializer list
error: 'expected-error' diagnostics seen but not expected: 
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/C/C2y/n3346.c Line 52: initializing wide char array with non-wide string literal
2 errors generated.

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):
  Clang :: C/C2y/n3346.c


Testing Time: 79.16s

Total Discovered Tests: 45561
  Skipped          :     8 (0.02%)
  Unsupported      :   874 (1.92%)
  Passed           : 44653 (98.01%)
  Expectedly Failed:    25 (0.05%)
  Failed           :     1 (0.00%)
FAILED: tools/clang/test/CMakeFiles/check-clang /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/tools/clang/test/CMakeFiles/check-clang 
cd /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/tools/clang/test && /usr/bin/python3.10 /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/./bin/llvm-lit -sv --param USE_Z3_SOLVER=0 /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar/tools/clang/test
ninja: build stopped: subcommand failed.
['ninja', '-C', '/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-bxcwguar', 'check-llvm', 'check-clang', 'check-lld'] exited with return code 1.
program finished with exit code 0
elapsedTime=1129.435500

```

</details>

https://github.com/llvm/llvm-project/pull/115516


More information about the cfe-commits mailing list