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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P4                          |P2

--- Comment #25 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #24)
> *** Bug 97937 has been marked as a duplicate of this bug. ***

Testcase from the bug.  The thing is after ICFing test and test2 we still
emit the very same code as when not doing ICF but the only effect is
no debug info for test1.

int test(void)
{
  return 0;
}

int test1(void)
{
  return 0;
}

struct s {
  int (*x) (void);
  int (*y) (void);
};

struct s xxx = { test, test1 };

Reply via email to