https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103184
--- Comment #8 from CVS Commits ---
The master branch has been updated by H.J. Lu :
https://gcc.gnu.org/g:4c19122bf5afa5cb479fd9445f0c591c52add09b
commit r12-5282-g4c19122bf5afa5cb479fd9445f0c591c52add09b
Author: H.J. Lu
Date: Fri Nov 12 07
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103184
--- Comment #7 from H.J. Lu ---
The updated patch is at
https://gcc.gnu.org/pipermail/gcc-patches/2021-November/584464.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103184
H.J. Lu changed:
What|Removed |Added
CC||hjl.tools at gmail dot com
--- Comment #6 fro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103184
Andrew Pinski changed:
What|Removed |Added
CC||law at gcc dot gnu.org
--- Comment #5 f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103184
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2021-11-11
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103184
--- Comment #3 from Hongtao.liu ---
(In reply to Hongtao.liu from comment #2)
> When mask is integer_cst, it not safe to replace_uses_by (use_lhs, lhs);
Similar ICE for variable mask.
int
tbit0 (_Atomic int* a, int n)
{
#define BIT (0x01 << n)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103184
--- Comment #2 from Hongtao.liu ---
When mask is integer_cst, it not safe to replace_uses_by (use_lhs, lhs); since
integer_cst has type signed int, but lhs has type unsigned int, and will issue
ICE for type mismatch
_7 = _1 & 8;
_1 is signed in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103184
Richard Biener changed:
What|Removed |Added
Component|target |tree-optimization
Priority|P