public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/111893] New: range-op misses {L,R}ROTATE_EXPR handling
@ 2023-10-20  9:36 rguenth at gcc dot gnu.org
  2023-10-20  9:37 ` [Bug tree-optimization/111893] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-10-20  9:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111893

            Bug ID: 111893
           Summary: range-op misses {L,R}ROTATE_EXPR handling
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

Seen when trying to check whether we exercise the constraint on the rotate
amount operand.

I also noticed we miss generic.texi documentation for those codes.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tree-optimization/111893] range-op misses {L,R}ROTATE_EXPR handling
  2023-10-20  9:36 [Bug tree-optimization/111893] New: range-op misses {L,R}ROTATE_EXPR handling rguenth at gcc dot gnu.org
@ 2023-10-20  9:37 ` rguenth at gcc dot gnu.org
  2023-10-20  9:46 ` jakub at gcc dot gnu.org
  2023-11-09  3:34 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-10-20  9:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111893

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
                 CC|                            |amacleod at redhat dot com,
                   |                            |jakub at gcc dot gnu.org

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I'm not sure if our rotate pattern matching is careful to not introduce
out-of-bound shifts?  (but I think I remember fixes there)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tree-optimization/111893] range-op misses {L,R}ROTATE_EXPR handling
  2023-10-20  9:36 [Bug tree-optimization/111893] New: range-op misses {L,R}ROTATE_EXPR handling rguenth at gcc dot gnu.org
  2023-10-20  9:37 ` [Bug tree-optimization/111893] " rguenth at gcc dot gnu.org
@ 2023-10-20  9:46 ` jakub at gcc dot gnu.org
  2023-11-09  3:34 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-10-20  9:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111893

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think it is, but obviously an out of range constant can propagate into the
rotates at any time after the rotate pattern matching.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tree-optimization/111893] range-op misses {L,R}ROTATE_EXPR handling
  2023-10-20  9:36 [Bug tree-optimization/111893] New: range-op misses {L,R}ROTATE_EXPR handling rguenth at gcc dot gnu.org
  2023-10-20  9:37 ` [Bug tree-optimization/111893] " rguenth at gcc dot gnu.org
  2023-10-20  9:46 ` jakub at gcc dot gnu.org
@ 2023-11-09  3:34 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-11-09  3:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111893

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-11-09
           Severity|normal                      |enhancement
     Ever confirmed|0                           |1

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-09  3:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-20  9:36 [Bug tree-optimization/111893] New: range-op misses {L,R}ROTATE_EXPR handling rguenth at gcc dot gnu.org
2023-10-20  9:37 ` [Bug tree-optimization/111893] " rguenth at gcc dot gnu.org
2023-10-20  9:46 ` jakub at gcc dot gnu.org
2023-11-09  3:34 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).