forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 15
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
-Wshift-count-negative in drivers/net/ethernet/sfc/ #1439
Labels
-Wshift-count-negative
[ARCH] powerpc
This bug impacts ARCH=powerpc
asm goto
related to the implementation of asm goto
[BUG] llvm
A bug that should be fixed in upstream LLVM
[FIXED][LLVM] 14
This bug was fixed in LLVM 14.x
Comments
Looks like that is exactly what is happening.
It seems like
Perhaps this is a similar issue to https://llvm.org/bz51682? |
github-actions bot
pushed a commit
to tstellar/llvm-project
that referenced
this issue
Jan 7, 2022
When performing CFG based analyses, don't forget to check the child statements of an asm goto, such as the expressions used for inputs+outputs. Fixes: llvm#51024 Fixes: ClangBuiltLinux/linux#1439 Reviewed By: void, jyknight, jyu2, efriedma Differential Revision: https://reviews.llvm.org/D116059 (cherry picked from commit 3a604fd)
tstellar
pushed a commit
to llvm/llvm-project
that referenced
this issue
Jan 8, 2022
When performing CFG based analyses, don't forget to check the child statements of an asm goto, such as the expressions used for inputs+outputs. Fixes: #51024 Fixes: ClangBuiltLinux/linux#1439 Reviewed By: void, jyknight, jyu2, efriedma Differential Revision: https://reviews.llvm.org/D116059 (cherry picked from commit 3a604fd)
haoNoQ
pushed a commit
to swiftlang/llvm-project
that referenced
this issue
Feb 23, 2022
When performing CFG based analyses, don't forget to check the child statements of an asm goto, such as the expressions used for inputs+outputs. Fixes: llvm#51024 Fixes: ClangBuiltLinux/linux#1439 Reviewed By: void, jyknight, jyu2, efriedma Differential Revision: https://reviews.llvm.org/D116059 (cherry picked from commit 3a604fd)
s194604
pushed a commit
to s194604/patmos-llvm-project
that referenced
this issue
Apr 10, 2022
When performing CFG based analyses, don't forget to check the child statements of an asm goto, such as the expressions used for inputs+outputs. Fixes: llvm/llvm-project#51024 Fixes: ClangBuiltLinux/linux#1439 Reviewed By: void, jyknight, jyu2, efriedma Differential Revision: https://reviews.llvm.org/D116059 (cherry picked from commit 3a604fd)
bryanpkc
pushed a commit
to flang-compiler/classic-flang-llvm-project
that referenced
this issue
Apr 20, 2022
When performing CFG based analyses, don't forget to check the child statements of an asm goto, such as the expressions used for inputs+outputs. Fixes: llvm/llvm-project#51024 Fixes: ClangBuiltLinux/linux#1439 Reviewed By: void, jyknight, jyu2, efriedma Differential Revision: https://reviews.llvm.org/D116059 (cherry picked from commit 3a604fd)
mem-frob
pushed a commit
to draperlaboratory/hope-llvm-project
that referenced
this issue
Oct 7, 2022
When performing CFG based analyses, don't forget to check the child statements of an asm goto, such as the expressions used for inputs+outputs. Fixes: llvm/llvm-project#51024 Fixes: ClangBuiltLinux/linux#1439 Reviewed By: void, jyknight, jyu2, efriedma Differential Revision: https://reviews.llvm.org/D116059
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
-Wshift-count-negative
[ARCH] powerpc
This bug impacts ARCH=powerpc
asm goto
related to the implementation of asm goto
[BUG] llvm
A bug that should be fixed in upstream LLVM
[FIXED][LLVM] 14
This bug was fixed in LLVM 14.x
After commit 1e688dd2a3d6 ("powerpc/bug: Provide better flexibility to WARN_ON/__WARN_FLAGS() with asm goto") in the powerpc tree, I see the following warnings with Debian's and SUSE's configs:
Doing the math, I have no idea how it thinks the shift is going to be negative... (all of the macros are in
drivers/net/ethernet/sfc/falcon/bitfield.h
)which finally evaluates to
Maybe it is trying to evaluate the last branch as a shift of
-32
? I also do not see what the commit that exposed the problem has to do with this.The text was updated successfully, but these errors were encountered: