https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129165
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
Summary|[14/15/16/17 Regression] |[14/15/16/17 Regression]
|wrong code at -O0 and |wrong code at -O0 and
|above: `A < 0 ? <sign bit |above: `A < 0 ? <sign bit
|of A> : 0` -> `A & <sign |of A> : 0` -> `A & <sign
|bit>` applied when A is |bit>` applied when A is
|unsigned (`(unsigned long |unsigned (`(unsigned long
|long)(unsigned)(0ULL > |long)(unsigned)(0ULL >
|(unsigned long long)(signed |(unsigned long long)(signed
|char)a ? 128u : 0)` folded |char)a ? 128u : 0)` folded
|to `a & 128`) |to `a & 128`) since
| |r0-92187
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r0-92187-g2ec5deb5c3146cdaf0119ebf7f37df6e57f1521d