Re: [rs6000] Fix thinko in output_profile_hook

2011-05-08 Thread Eric Botcazou
> 2011-03-24  Eric Botcazou   > > * config/rs6000/rs6000.c (output_profile_hook): Fix thinko. Applied as obvious. -- Eric Botcazou

[rs6000] Fix thinko in output_profile_hook

2011-03-24 Thread Eric Botcazou
Hi, the problematic line is: label_name = (*targetm.strip_name_encoding) (ggc_strdup (buf)); On AIX, rs6000_xcoff_strip_name_encoding can return NAME + 1: static const char * rs6000_xcoff_strip_name_encoding (const char *name) { size_t len; if (*name == '*') name++; len = strlen (name