OSDN Git Service

2010-05-09 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / cp / cfns.gperf
index 850b66a..ef1ed08 100644 (file)
@@ -1,4 +1,21 @@
 %{
+/* Copyright (C) 2000, 2003 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3, or (at your option) any later
+version.
+
+GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING3.  If not see
+<http://www.gnu.org/licenses/>.  */
 #ifdef __GNUC__
 __inline
 #endif
@@ -8,6 +25,7 @@ __inline
 #endif
 const char * libc_name_p (const char *, unsigned int);
 %}
+%%
 # The standard C library functions, for feeding to gperf; the result is used
 # by nothrow_libfn_p.
 #
@@ -16,9 +34,9 @@ const char * libc_name_p (const char *, unsigned int);
 #   exception, unless it calls a program-supplied function that
 #   throws an exception.
 #
-# bsearch and qsort are commented out because they can call such functions.
+# Specific functions are commented out for the reason noted in each case.
 #
-abort
+# abort                        -- synchronous exception from SIGABRT handler
 abs
 acos
 asctime
@@ -29,7 +47,7 @@ atexit
 atof
 atoi
 atol
-#bsearch
+#bsearch               -- calls user function which may throw exception
 btowc
 calloc
 ceil
@@ -43,41 +61,41 @@ div
 exit
 exp
 fabs
-fclose
+#fclose                        -- POSIX thread cancellation point
 feof
 ferror
-fflush
-fgetc
-fgetpos
-fgets
-fgetwc
-fgetws
+#fflush                        -- POSIX thread cancellation point
+#fgetc                 -- POSIX thread cancellation point
+#fgetpos               -- POSIX thread cancellation point
+#fgets                 -- POSIX thread cancellation point
+#fgetwc                        -- POSIX thread cancellation point
+#fgetws                        -- POSIX thread cancellation point
 floor
 fmod
-fopen
-fprintf
-fputc
-fputs
-fputwc
-fputws
-fread
+#fopen                 -- POSIX thread cancellation point
+#fprintf               -- POSIX thread cancellation point
+#fputc                 -- POSIX thread cancellation point
+#fputs                 -- POSIX thread cancellation point
+#fputwc                        -- POSIX thread cancellation point
+#fputws                        -- POSIX thread cancellation point
+#fread                 -- POSIX thread cancellation point
 free
-freopen
+#freopen               -- POSIX thread cancellation point
 frexp
-fscanf
+#fscanf                        -- POSIX thread cancellation point
 fseek
-fsetpos
-ftell
+#fsetpos               -- POSIX thread cancellation point
+#ftell                 -- POSIX thread cancellation point
 fwide
-fwprintf
-fwrite
-fwscanf
-getc
-getchar
+#fwprintf              -- POSIX thread cancellation point
+#fwrite                        -- POSIX thread cancellation point
+#fwscanf               -- POSIX thread cancellation point
+#getc                  -- POSIX thread cancellation point
+#getchar               -- POSIX thread cancellation point
 getenv
-gets
-getwc
-getwchar
+#gets                  -- POSIX thread cancellation point
+#getwc                 -- POSIX thread cancellation point
+#getwchar              -- POSIX thread cancellation point
 gmtime
 isalnum
 isalpha
@@ -125,22 +143,22 @@ memmove
 memset
 mktime
 modf
-perror
+#perror                        -- POSIX thread cancellation point
 pow
-printf
-putc
-putchar
-puts
-putwc
-putwchar
-#qsort
-raise
+#printf                        -- POSIX thread cancellation point
+#putc                  -- POSIX thread cancellation point
+#putchar               -- POSIX thread cancellation point
+#puts                  -- POSIX thread cancellation point
+#putwc                 -- POSIX thread cancellation point
+#putwchar              -- POSIX thread cancellation point
+#qsort                 -- calls user function which may throw exception
+#raise                 -- synchronous exception from signal handler
 rand
 realloc
-remove
-rename
-rewind
-scanf
+#remove                        -- POSIX thread cancellation point
+#rename                        -- POSIX thread cancellation point
+#rewind                        -- POSIX thread cancellation point
+#scanf                 -- POSIX thread cancellation point
 setbuf
 setlocale
 setvbuf
@@ -157,7 +175,7 @@ strcmp
 strcoll
 strcpy
 strcspn
-strerror
+#strerror              -- POSIX thread cancellation point
 strftime
 strlen
 strncat
@@ -174,25 +192,25 @@ strtoul
 strxfrm
 swprintf
 swscanf
-system
+#system                        -- POSIX thread cancellation point
 tan
 tanh
 time
-tmpfile
-tmpnam
+#tmpfile               -- POSIX thread cancellation point
+#tmpnam                        -- POSIX thread cancellation point
 tolower
 toupper
 towctrans
 towlower
 towupper
-ungetc
-ungetwc
-vfprintf
-vfwprintf
-vprintf
+#ungetc                        -- POSIX thread cancellation point
+#ungetwc               -- POSIX thread cancellation point
+#vfprintf              -- POSIX thread cancellation point
+#vfwprintf             -- POSIX thread cancellation point
+#vprintf               -- POSIX thread cancellation point
 vsprintf
 vswprintf
-vwprintf
+#vwprintf              -- POSIX thread cancellation point
 wcrtomb
 wcscat
 wcschr
@@ -225,5 +243,5 @@ wmemcmp
 wmemcpy
 wmemmove
 wmemset
-wprintf
-wscanf
+#wprintf               -- POSIX thread cancellation point
+#wscanf                        -- POSIX thread cancellation point