PR gcov-profile/38292
* calls.c (special_function_p): Disregard __builtin_
prefix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143937
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-02-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/38977
+ PR gcov-profile/38292
+ * calls.c (special_function_p): Disregard __builtin_
+ prefix.
+
2009-02-04 Hariharan Sandanagobalane <hariharan@picochip.com>
* config/picochip/picochip.c (GO_IF_LEGITIMATE_ADDRESS): Disallow
&& ! strcmp (name, "__builtin_alloca"))))
flags |= ECF_MAY_BE_ALLOCA;
- /* Disregard prefix _, __ or __x. */
+ /* Disregard prefix _, __, __x or __builtin_. */
if (name[0] == '_')
{
- if (name[1] == '_' && name[2] == 'x')
+ if (name[1] == '_'
+ && name[2] == 'b'
+ && !strncmp (name + 3, "uiltin_", 7))
+ tname += 10;
+ else if (name[1] == '_' && name[2] == 'x')
tname += 3;
else if (name[1] == '_')
tname += 2;