Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[libcxx][tests] Continue marking tests XFAIL in clang-22#149124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ldionne merged 1 commit intomainfromusers/ilovepi/clang-version-fix-libcxx
Jul 18, 2025

Conversation

@ilovepiilovepi requested a review froma team as acode ownerJuly 16, 2025 15:45
@llvmbotllvmbot added the libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. labelJul 16, 2025
@ilovepiGraphite App
Copy link
ContributorAuthor

This stack of pull requests is managed byGraphite. Learn more aboutstacking.

@llvmbot
Copy link
Member

@llvm/pr-subscribers-libcxx

Author: Paul Kirth (ilovepi)

Changes

These tests still fail on Windows with clang-22, as reported in
#70225 (comment).
The root cause seems to be the version bump in
https://llvm.googlesource.com/llvm-project/+/01f36b39bd2475a271bbeb95fb9db8ed65e2d065

Bot:https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-windows-x64/b8709267330516788049/overview
Logs:https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket/8709267330516788049/+/u/clang/test/stdout


Full diff:https://github.com/llvm/llvm-project/pull/149124.diff

3 Files Affected:

  • (modified) libcxx/test/libcxx/fuzzing/random.pass.cpp (+1-1)
  • (modified) libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp (+1-1)
  • (modified) libcxx/test/std/numerics/c.math/cmath.pass.cpp (+1-1)
diff --git a/libcxx/test/libcxx/fuzzing/random.pass.cpp b/libcxx/test/libcxx/fuzzing/random.pass.cppindex cb074bd60fdc8..346ff47d9bb36 100644--- a/libcxx/test/libcxx/fuzzing/random.pass.cpp+++ b/libcxx/test/libcxx/fuzzing/random.pass.cpp@@ -8,7 +8,7 @@  // This test fails because Clang no longer enables -fdelayed-template-parsing // by default on Windows with C++20 (#69431).-// XFAIL: msvc && (clang-18 || clang-19 || clang-20 || clang-21)+// XFAIL: msvc && (clang-18 || clang-19 || clang-20 || clang-21 || clang-22)  // UNSUPPORTED: c++03, c++11diff --git a/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/math_h.pass.cppindex 1ba0063c1dada..a6fdea524fb83 100644--- a/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp+++ b/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp@@ -8,7 +8,7 @@  // This test fails because Clang no longer enables -fdelayed-template-parsing // by default on Windows with C++20 (#69431).-// XFAIL: msvc && (clang-18 || clang-19 || clang-20 || clang-21)+// XFAIL: msvc && (clang-18 || clang-19 || clang-20 || clang-21 || clang-22)  // <math.h>diff --git a/libcxx/test/std/numerics/c.math/cmath.pass.cpp b/libcxx/test/std/numerics/c.math/cmath.pass.cppindex 48c2918802fc3..4d1e5c329b388 100644--- a/libcxx/test/std/numerics/c.math/cmath.pass.cpp+++ b/libcxx/test/std/numerics/c.math/cmath.pass.cpp@@ -8,7 +8,7 @@  // This test fails because Clang no longer enables -fdelayed-template-parsing // by default on Windows with C++20 (#69431).-// XFAIL: msvc && (clang-18 || clang-19 || clang-20 || clang-21)+// XFAIL: msvc && (clang-18 || clang-19 || clang-20 || clang-21 || clang-22)  // <cmath>

Comment on lines 9 to 11
// This test fails because Clang no longer enables -fdelayed-template-parsing
// by default on Windows with C++20 (#69431).
// XFAIL: msvc && (clang-18 || clang-19 || clang-20 || clang-21)
// XFAIL: msvc && (clang-18 || clang-19 || clang-20 || clang-21 || clang-22)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I would suggest switching to this:

// This test doesn't work on Windows because the Windows headers <EXPLAIN REASON>// XFAIL: msvc

IIUC, the test basically doesn't work on Windows with any of our supported compilers, so it's not really useful to keep carrying theclang-XY annotations here. By the way, why does the test fail? I mean, what's special about Windows that makes this test require-fdelayed-template-parsing?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The problem is explained in issue 70225; please add a link to that issue in the comment here.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Done.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

oops only fixed one file. will address.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Actually done this time :)

@ilovepiilovepiforce-pushed theusers/ilovepi/clang-version-fix-libcxx branch 2 times, most recently from41caae6 tobd6dd16CompareJuly 16, 2025 18:53
@frederick-vs-ja
Copy link
Contributor

FYI, I'm working on a "proper" workaround since C++20, see#149234.

@boomanaiden154
Copy link
Contributor

(Sorry, accidentally hit the update branch button on my phone).

@ilovepi
Copy link
ContributorAuthor

FYI, I'm working on a "proper" workaround since C++20, see#149234.

That's fine, but I'd like to unblock our CI ASAP. We haven't been able to qualify a toolchain since the version bump, and we're loosing a lot of important signal. If this can land sooner I'd prefer to do that, and then there isn't any urgency to land a proper fix quickly.

@ilovepiilovepiforce-pushed theusers/ilovepi/clang-version-fix-libcxx branch from86062e2 to8027da6CompareJuly 17, 2025 17:28
@ilovepi
Copy link
ContributorAuthor

All tests were passing, but I reworded the comments.

@ilovepi
Copy link
ContributorAuthor

@ldionne anything left to address?

@ldionneldionne merged commitfd12e9a intomainJul 18, 2025
77 checks passed
@ldionneldionne deleted the users/ilovepi/clang-version-fix-libcxx branchJuly 18, 2025 15:03
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ldionneldionneldionne approved these changes

@jyknightjyknightjyknight approved these changes

Assignees
No one assigned
Labels
libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

6 participants
@ilovepi@llvmbot@frederick-vs-ja@boomanaiden154@ldionne@jyknight

[8]ページ先頭

©2009-2025 Movatter.jp