3
# DP: Fix PR gcov-profile/38292, taken from the trunk
6
if [ $# -eq 3 -a "$2" = '-d' ]; then
9
elif [ $# -ne 1 ]; then
10
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
15
patch $pdir -f --no-backup-if-mismatch -p0 < $0
18
patch $pdir -f --no-backup-if-mismatch -R -p0 < $0
21
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
28
2009-02-04 Jakub Jelinek <jakub@redhat.com>
30
PR tree-optimization/38977
32
* calls.c (special_function_p): Disregard __builtin_
36
===================================================================
37
--- gcc/calls.c (revision 143936)
38
+++ gcc/calls.c (revision 143937)
40
&& ! strcmp (name, "__builtin_alloca"))))
41
flags |= ECF_MAY_BE_ALLOCA;
43
- /* Disregard prefix _, __ or __x. */
44
+ /* Disregard prefix _, __, __x or __builtin_. */
47
- if (name[1] == '_' && name[2] == 'x')
50
+ && !strncmp (name + 3, "uiltin_", 7))
52
+ else if (name[1] == '_' && name[2] == 'x')
54
else if (name[1] == '_')