cfns.h
14 KB
-
lang-options.h, decl2.c: Add -fno-enforce-eh-specs. · 1660cb3a
* 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
Jason Merrill committed