[Bug ipa/84425] New: [8 Regression] Hang in ipa-inline.c starting with r250048

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 16 19:53:00 GMT 2018


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

            Bug ID: 84425
           Summary: [8 Regression] Hang in ipa-inline.c starting with
                    r250048
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

The following testcase hangs with -O2 in ipa-inline.c starting with r250048.

void bar (int);

void
foo (int x)
{
  if (x < 5)
    bar (x);
}

__attribute__((optimize(0))) void
bar (int x)
{
  if (x > 10)
    foo (x);
}

I think the actual bug is far older and has just been latent before.


More information about the Gcc-bugs mailing list