public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/94267] New: Missed folding of &TARGET_MEM_REF
@ 2020-03-23  8:17 rguenth at gcc dot gnu.org
  2020-03-23  8:18 ` [Bug middle-end/94267] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-03-23  8:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94267
           Summary: Missed folding of &TARGET_MEM_REF
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

Seen in PR94266 IVOPTs can generate &TARGET_MEM_REF[ptr_1 + 0] which we
obviously should represent as plain ptr_1, possibly casted.  Likewise
&TARGET_MEM_REF[ptr_1 + 4] should be canonicalized to &MEM_REF[ptr_1 + 4]
or even a POINTER_PLUS_EXPR.

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

end of thread, other threads:[~2023-09-26  6:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-23  8:17 [Bug middle-end/94267] New: Missed folding of &TARGET_MEM_REF rguenth at gcc dot gnu.org
2020-03-23  8:18 ` [Bug middle-end/94267] " rguenth at gcc dot gnu.org
2021-12-13  8:33 ` pinskia at gcc dot gnu.org
2023-09-25 21:04 ` pinskia at gcc dot gnu.org
2023-09-25 21:04 ` pinskia at gcc dot gnu.org
2023-09-26  6:53 ` rguenth 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).