[Bug ipa/60761] [4.9 Regression] Names of all function clones in g++ are "<built-in>", in both warnings and dumps
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 9 16:14:00 GMT 2014
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.
More information about the Gcc-bugs
mailing list