https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82454
--- Comment #5 from Andrew Pinski ---
Actually this looks almost exactly the same as PR 82339 .
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82454
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed|2017-10-09 00:00:00 |2023-8-3
See Also|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82454
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82454
--- Comment #3 from Richard Biener ---
Note the missed-optimization is that any
(1 << C) >> x
can be instead written as
1 << C - x
iff we know that C - x > 0. For C == precision(x)-1 we can infer that
directly from x being mentioned in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82454
Richard Biener changed:
What|Removed |Added
Keywords||missed-optimization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82454
--- Comment #1 from Sudakshina Das ---
Created attachment 42318
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42318=edit
test2