forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 14
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new instances of -Wunused-variable w/ clang-18 #1926
Labels
-Wunused-variable
[BUG] llvm (main)
A bug in an unreleased version of LLVM (this label is appropriate for regressions)
[FIXED][LLVM] main
This bug was only present and fixed in an unreleased version of LLVM
[Regression] llvm
This was previously working, but the toolchain has regressed.
Comments
clang bug: https://reviews.llvm.org/D152495#4631829 |
nickdesaulniers
added
[Regression] llvm
This was previously working, but the toolchain has regressed.
and removed
[BUG] Untriaged
Something isn't working
labels
Aug 31, 2023
nickdesaulniers
added a commit
to llvm/llvm-project
that referenced
this issue
Aug 31, 2023
…lared in condition expressions"" This reverts commit 92023b1. Further issues were uncovered: - False positive -Wunused-variable on function-static variables with the used attribute. ClangBuiltLinux/linux#1926 A test case needs to be added for this. - Request for a new flag for these. https://reviews.llvm.org/D152495#4628877 https://reviews.llvm.org/D152495#4628887
reverted: llvm/llvm-project@f0f395e |
Adding some tests so this doesn't regress again: https://reviews.llvm.org/D159307. |
nickdesaulniers
added
[BUG] llvm (main)
A bug in an unreleased version of LLVM (this label is appropriate for regressions)
[FIXED][LLVM] main
This bug was only present and fixed in an unreleased version of LLVM
and removed
[FIXED][LLVM] 18
This bug was fixed in LLVM 18
labels
Aug 31, 2023
nickdesaulniers
added a commit
to llvm/llvm-project
that referenced
this issue
Aug 31, 2023
Ensure these don't regress the next time we reland D152495. Link: ClangBuiltLinux/linux#1926 Reviewed By: cor3ntin, MaskRay Differential Revision: https://reviews.llvm.org/D159307
smeenai
pushed a commit
to smeenai/llvm-project
that referenced
this issue
Sep 1, 2023
Ensure these don't regress the next time we reland D152495. Link: ClangBuiltLinux/linux#1926 Reviewed By: cor3ntin, MaskRay Differential Revision: https://reviews.llvm.org/D159307 commit-id:21e75626
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
-Wunused-variable
[BUG] llvm (main)
A bug in an unreleased version of LLVM (this label is appropriate for regressions)
[FIXED][LLVM] main
This bug was only present and fixed in an unreleased version of LLVM
[Regression] llvm
This was previously working, but the toolchain has regressed.
@nathanchance reported that some CI jobs failed overnight with new instances of -Wunused-variable.
example: https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/6033685211/job/16371310061#step:6:101
He also tracked it down to
llvm/llvm-project@92023b1
There's discussion on
https://reviews.llvm.org/D152495
about splitting this out into it's own warning.
https://reviews.llvm.org/D152495#4628887
Here's a full trace from mainline (
KCFLAGS=-fmacro-backtrace-limit=0
):The text was updated successfully, but these errors were encountered: