Some fixes for profile test cases for autofdo
[official-gcc.git] / gcc / cp / cfns.gperf
blob8d7f015bf16eb49c885ebd18fc0fac5f179fe34d
1 %language=C++
2 %define class-name libc_name
3 %{
4 /* Copyright (C) 2000-2016 Free Software Foundation, Inc.
6 This file is part of GCC.
8 GCC is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free
10 Software Foundation; either version 3, or (at your option) any later
11 version.
13 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
14 WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
16 for more details.
18 You should have received a copy of the GNU General Public License
19 along with GCC; see the file COPYING3.  If not see
20 <http://www.gnu.org/licenses/>.  */
23 # The standard C library functions, for feeding to gperf; the result is used
24 # by nothrow_libfn_p.
26 #   [lib.res.on.exception.handling]: None of the functions from the
27 #   Standard C library shall report an error by throwing an
28 #   exception, unless it calls a program-supplied function that
29 #   throws an exception.
31 # Specific functions are commented out for the reason noted in each case.
33 # abort                 -- synchronous exception from SIGABRT handler
34 abs
35 acos
36 asctime
37 asin
38 atan
39 atan2
40 atexit
41 atof
42 atoi
43 atol
44 #bsearch                -- calls user function which may throw exception
45 btowc
46 calloc
47 ceil
48 clearerr
49 clock
50 cos
51 cosh
52 ctime
53 difftime
54 div
55 exit
56 exp
57 fabs
58 #fclose                 -- POSIX thread cancellation point
59 feof
60 ferror
61 #fflush                 -- POSIX thread cancellation point
62 #fgetc                  -- POSIX thread cancellation point
63 #fgetpos                -- POSIX thread cancellation point
64 #fgets                  -- POSIX thread cancellation point
65 #fgetwc                 -- POSIX thread cancellation point
66 #fgetws                 -- POSIX thread cancellation point
67 floor
68 fmod
69 #fopen                  -- POSIX thread cancellation point
70 #fprintf                -- POSIX thread cancellation point
71 #fputc                  -- POSIX thread cancellation point
72 #fputs                  -- POSIX thread cancellation point
73 #fputwc                 -- POSIX thread cancellation point
74 #fputws                 -- POSIX thread cancellation point
75 #fread                  -- POSIX thread cancellation point
76 free
77 #freopen                -- POSIX thread cancellation point
78 frexp
79 #fscanf                 -- POSIX thread cancellation point
80 fseek
81 #fsetpos                -- POSIX thread cancellation point
82 #ftell                  -- POSIX thread cancellation point
83 fwide
84 #fwprintf               -- POSIX thread cancellation point
85 #fwrite                 -- POSIX thread cancellation point
86 #fwscanf                -- POSIX thread cancellation point
87 #getc                   -- POSIX thread cancellation point
88 #getchar                -- POSIX thread cancellation point
89 getenv
90 #gets                   -- POSIX thread cancellation point
91 #getwc                  -- POSIX thread cancellation point
92 #getwchar               -- POSIX thread cancellation point
93 gmtime
94 isalnum
95 isalpha
96 iscntrl
97 isdigit
98 isgraph
99 islower
100 isprint
101 ispunct
102 isspace
103 isupper
104 iswalnum
105 iswalpha
106 iswcntrl
107 iswctype
108 iswdigit
109 iswgraph
110 iswlower
111 iswprint
112 iswpunct
113 iswspace
114 iswupper
115 iswxdigit
116 isxdigit
117 labs
118 ldexp
119 ldiv
120 localeconv
121 localtime
123 log10
124 longjmp
125 malloc
126 mblen
127 mbrlen
128 mbrtowc
129 mbsinit
130 mbsrtowcs
131 mbstowcs
132 mbtowc
133 memchr
134 memcmp
135 memcpy
136 memmove
137 memset
138 mktime
139 modf
140 #perror                 -- POSIX thread cancellation point
142 #printf                 -- POSIX thread cancellation point
143 #putc                   -- POSIX thread cancellation point
144 #putchar                -- POSIX thread cancellation point
145 #puts                   -- POSIX thread cancellation point
146 #putwc                  -- POSIX thread cancellation point
147 #putwchar               -- POSIX thread cancellation point
148 #qsort                  -- calls user function which may throw exception
149 #raise                  -- synchronous exception from signal handler
150 rand
151 realloc
152 #remove                 -- POSIX thread cancellation point
153 #rename                 -- POSIX thread cancellation point
154 #rewind                 -- POSIX thread cancellation point
155 #scanf                  -- POSIX thread cancellation point
156 setbuf
157 setlocale
158 setvbuf
159 signal
161 sinh
162 sprintf
163 sqrt
164 srand
165 sscanf
166 strcat
167 strchr
168 strcmp
169 strcoll
170 strcpy
171 strcspn
172 #strerror               -- POSIX thread cancellation point
173 strftime
174 strlen
175 strncat
176 strncmp
177 strncpy
178 strpbrk
179 strrchr
180 strspn
181 strstr
182 strtod
183 strtok
184 strtol
185 strtoul
186 strxfrm
187 swprintf
188 swscanf
189 #system                 -- POSIX thread cancellation point
191 tanh
192 time
193 #tmpfile                -- POSIX thread cancellation point
194 #tmpnam                 -- POSIX thread cancellation point
195 tolower
196 toupper
197 towctrans
198 towlower
199 towupper
200 #ungetc                 -- POSIX thread cancellation point
201 #ungetwc                -- POSIX thread cancellation point
202 #vfprintf               -- POSIX thread cancellation point
203 #vfwprintf              -- POSIX thread cancellation point
204 #vprintf                -- POSIX thread cancellation point
205 vsprintf
206 vswprintf
207 #vwprintf               -- POSIX thread cancellation point
208 wcrtomb
209 wcscat
210 wcschr
211 wcscmp
212 wcscoll
213 wcscpy
214 wcscspn
215 wcsftime
216 wcslen
217 wcsncat
218 wcsncmp
219 wcsncpy
220 wcspbrk
221 wcsrchr
222 wcsrtombs
223 wcsspn
224 wcsstr
225 wcstod
226 wcstok
227 wcstol
228 wcstombs
229 wcstoul
230 wcsxfrm
231 wctob
232 wctomb
233 wctrans
234 wctype
235 wmemchr
236 wmemcmp
237 wmemcpy
238 wmemmove
239 wmemset
240 #wprintf                -- POSIX thread cancellation point
241 #wscanf                 -- POSIX thread cancellation point