public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/106210] New: missing shrink wrap for simple case
@ 2022-07-05 22:39 pinskia at gcc dot gnu.org
  2022-07-05 22:43 ` [Bug rtl-optimization/106210] [10/11/12/13 Regression] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-07-05 22:39 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106210
           Summary: missing shrink wrap for simple case
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---
            Target: aarch64-*-* x86_64-*-*

Take:
```
int f(int);

int advance(int dz)
{
    int dz1;
    if (dz > 0)
        return (dz + dz) * dz;
    else
        return dz * f(dz);
}
```
I would have expected this to be shrink wrapped but it is not.

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

end of thread, other threads:[~2023-07-07 10:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-05 22:39 [Bug rtl-optimization/106210] New: missing shrink wrap for simple case pinskia at gcc dot gnu.org
2022-07-05 22:43 ` [Bug rtl-optimization/106210] [10/11/12/13 Regression] " pinskia at gcc dot gnu.org
2022-07-05 22:48 ` pinskia at gcc dot gnu.org
2022-07-15  8:36 ` marxin at gcc dot gnu.org
2022-07-15 19:32 ` pinskia at gcc dot gnu.org
2022-07-18  8:00 ` [Bug rtl-optimization/106210] [10/11/12/13 Regression] missing shrink wrap for simple case since r9-3594-g8d2d39587d941a40 marxin at gcc dot gnu.org
2022-07-18 17:34 ` segher at gcc dot gnu.org
2022-10-19 10:36 ` rguenth at gcc dot gnu.org
2023-07-07 10:43 ` [Bug rtl-optimization/106210] [11/12/13/14 " 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).