diff options
author | Jason Merrill <jason@casey.cygnus.com> | 2000-03-10 11:56:00 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-03-10 06:56:00 -0500 |
commit | 1660cb3ac4068304926550396c9da9fb26e26b74 (patch) | |
tree | 64d2573001d0d41dba0b3e2f6df81872d766ceec /gcc/cp/cfns.gperf | |
parent | 0c11ada67b89f4103c6c4abf680149bc3dee0959 (diff) | |
download | gcc-1660cb3ac4068304926550396c9da9fb26e26b74.zip gcc-1660cb3ac4068304926550396c9da9fb26e26b74.tar.gz gcc-1660cb3ac4068304926550396c9da9fb26e26b74.tar.bz2 |
lang-options.h, decl2.c: Add -fno-enforce-eh-specs.
* lang-options.h, decl2.c: Add -fno-enforce-eh-specs.
* cp-tree.h: Declare flag_enforce_eh_specs.
* decl.c (store_parm_decls, finish_function): Check it.
C library functions don't throw.
* Makefile.in (cfns.h): New target.
(except.o): Depend on it.
* Make-lang.in (cc1plus): Depend on cfns.gperf.
* cfns.gperf: New file.
* cfns.h: Generated.
* except.c: Include it.
(nothrow_libfn_p): New fn.
* decl.c (grokfndecl): Use it.
* cp-tree.h: Declare it.
From-SVN: r32469
Diffstat (limited to 'gcc/cp/cfns.gperf')
-rw-r--r-- | gcc/cp/cfns.gperf | 219 |
1 files changed, 219 insertions, 0 deletions
diff --git a/gcc/cp/cfns.gperf b/gcc/cp/cfns.gperf new file mode 100644 index 0000000..d7a530a --- /dev/null +++ b/gcc/cp/cfns.gperf @@ -0,0 +1,219 @@ +# The standard C library functions, for feeding to gperf; the result is used +# by nothrow_libfn_p. +# +# [lib.res.on.exception.handling]: None of the functions from the +# Standard C library shall report an error by throwing an +# exception, unless it calls a program-supplied function that +# throws an exception. +# +# bsearch and qsort are commented out because they can call such functions. +# +abort +abs +acos +asctime +asin +atan +atan2 +atexit +atof +atoi +atol +#bsearch +btowc +calloc +ceil +clearerr +clock +cos +cosh +ctime +difftime +div +exit +exp +fabs +fclose +feof +ferror +fflush +fgetc +fgetpos +fgets +fgetwc +fgetws +floor +fmod +fopen +fprintf +fputc +fputs +fputwc +fputws +fread +free +freopen +frexp +fscanf +fseek +fsetpos +ftell +fwide +fwprintf +fwrite +fwscanf +getc +getchar +getenv +gets +getwc +getwchar +gmtime +isalnum +isalpha +iscntrl +isdigit +isgraph +islower +isprint +ispunct +isspace +isupper +iswalnum +iswalpha +iswcntrl +iswctype +iswdigit +iswgraph +iswlower +iswprint +iswpunct +iswspace +iswupper +iswxdigit +isxdigit +labs +ldexp +ldiv +localeconv +localtime +log +log10 +longjmp +malloc +mblen +mbrlen +mbrtowc +mbsinit +mbsrtowcs +mbstowcs +mbtowc +memchr +memcmp +memcpy +memmove +memset +mktime +modf +perror +pow +printf +putc +putchar +puts +putwc +putwchar +#qsort +raise +rand +realloc +remove +rename +rewind +scanf +setbuf +setlocale +setvbuf +signal +sin +sinh +sprintf +sqrt +srand +sscanf +strcat +strchr +strcmp +strcoll +strcpy +strcspn +strerror +strftime +strlen +strncat +strncmp +strncpy +strpbrk +strrchr +strspn +strstr +strtod +strtok +strtol +strtoul +strxfrm +swprintf +swscanf +system +tan +tanh +time +tmpfile +tmpnam +tolower +toupper +towctrans +towlower +towupper +ungetc +ungetwc +vfprintf +vfwprintf +vprintf +vsprintf +vswprintf +vwprintf +wcrtomb +wcscat +wcschr +wcscmp +wcscoll +wcscpy +wcscspn +wcsftime +wcslen +wcsncat +wcsncmp +wcsncpy +wcspbrk +wcsrchr +wcsrtombs +wcsspn +wcsstr +wcstod +wcstok +wcstol +wcstombs +wcstoul +wcsxfrm +wctob +wctomb +wctrans +wctype +wmemchr +wmemcmp +wmemcpy +wmemmove +wmemset +wprintf +wscanf |