public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/104162] New: [12 Regression] Missed CSE after lowering of &MEM[ptr_1 + CST]
@ 2022-01-21 13:01 rguenth at gcc dot gnu.org
  2022-01-21 13:01 ` [Bug tree-optimization/104162] " rguenth at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-01-21 13:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104162
           Summary: [12 Regression] Missed CSE after lowering of
                    &MEM[ptr_1 + CST]
           Product: gcc
           Version: 12.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: ---

In the testcase of PR99673 we can see

  <bb 2> [local count: 1073741824]:
  _13 = &MEM[(struct B *)pc_2(D) + 1B].i;
  .ASAN_CHECK (6, _13, 4, 4);
  _1 = MEM[(struct B *)pc_2(D) + 1B].i;
  _14 = &pd_4(D)->i;
  .ASAN_CHECK (7, _14, 4, 4);
  pd_4(D)->i = _1;
  _9 = (sizetype) i_6(D);
  _10 = _9 * 16;
  _11 = _10 + 4;
  _12 = pc_2(D) + 1;
  psa_7 = _12 + _11;
  f (psa_7);

and FRE5 is not CSEing _12 to _13.

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

end of thread, other threads:[~2024-05-21  9:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-21 13:01 [Bug tree-optimization/104162] New: [12 Regression] Missed CSE after lowering of &MEM[ptr_1 + CST] rguenth at gcc dot gnu.org
2022-01-21 13:01 ` [Bug tree-optimization/104162] " rguenth at gcc dot gnu.org
2022-01-21 13:13 ` rguenth at gcc dot gnu.org
2022-01-21 16:10 ` pinskia at gcc dot gnu.org
2022-01-24  9:50 ` rguenth at gcc dot gnu.org
2022-01-26 13:48 ` rguenth at gcc dot gnu.org
2022-01-26 14:39 ` rguenth at gcc dot gnu.org
2022-03-23 12:32 ` rguenth at gcc dot gnu.org
2022-05-05 12:41 ` [Bug tree-optimization/104162] [12/13 " cvs-commit at gcc dot gnu.org
2022-12-12 13:32 ` [Bug tree-optimization/104162] [12 " marxin at gcc dot gnu.org
2023-04-26  6:55 ` rguenth at gcc dot gnu.org
2023-07-27  9:22 ` rguenth at gcc dot gnu.org
2024-05-21  9:11 ` jakub 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).