http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60761

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Won't that break say -g -O2 -Wall reporting with say:
static inline void
foo (char *p)
{
  __builtin___memcpy_chk (p, "abc", 3, __builtin_object_size (p, 0));
}

static inline void
bar (char *p)
{
  foo (p);
}

void
baz (void)
{
  char buf[2];
  bar (buf);
}

I mean, DECL_ABSTRACT_ORIGIN is set also for inlines, fnsplit created functions
and many other cases, printing <clone> after the function name in all those
cases might not be appropriate.

Reply via email to