aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/except.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-02-19 23:13:29 +0100
committerBernd Edlinger <edlinger@gcc.gnu.org>2016-02-19 22:13:29 +0000
commit3a27b4db566c2cde8e043220f3d2c5401159b10e (patch)
treeaad5fd751640b7db60e215dcaf2f898a0f65157e /gcc/cp/except.c
parent871b3f473a4bca51d05c1682efb5017385ec9e9e (diff)
downloadgcc-3a27b4db566c2cde8e043220f3d2c5401159b10e.zip
gcc-3a27b4db566c2cde8e043220f3d2c5401159b10e.tar.gz
gcc-3a27b4db566c2cde8e043220f3d2c5401159b10e.tar.bz2
Make-lang.in: Invoke gperf with -L C++.
2016-02-19 Jakub Jelinek <jakub@redhat.com> Bernd Edlinger <bernd.edlinger@hotmail.de> * Make-lang.in: Invoke gperf with -L C++. * cfns.gperf: Remove prototypes for hash and libc_name_p inlines. * cfns.h: Regenerated. * except.c (nothrow_libfn_p): Adjust. Co-Authored-By: Bernd Edlinger <bernd.edlinger@hotmail.de> From-SVN: r233572
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r--gcc/cp/except.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index c73a16b..5336710 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -1040,7 +1040,8 @@ nothrow_libfn_p (const_tree fn)
unless the system headers are playing rename tricks, and if
they are, we don't want to be confused by them. */
id = DECL_NAME (fn);
- return !!libc_name_p (IDENTIFIER_POINTER (id), IDENTIFIER_LENGTH (id));
+ return !!libc_name::libc_name_p (IDENTIFIER_POINTER (id),
+ IDENTIFIER_LENGTH (id));
}
/* Returns nonzero if an exception of type FROM will be caught by a