]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/cp/cp-tree.h
tree.h (id_equal): New.
[thirdparty/gcc.git] / gcc / cp / cp-tree.h
index 6d4d93702f8d5db203fdaf13716d97e0aaaca65e..5dd6023be16d69544caae797ea6773ebbd0e0135 100644 (file)
@@ -3015,7 +3015,7 @@ struct GTY(()) lang_decl {
    template function.  */
 #define DECL_PRETTY_FUNCTION_P(NODE) \
   (DECL_NAME (NODE) \
-   && !strcmp (IDENTIFIER_POINTER (DECL_NAME (NODE)), "__PRETTY_FUNCTION__"))
+   && id_equal (DECL_NAME (NODE), "__PRETTY_FUNCTION__"))
 
 /* Nonzero if the variable was declared to be thread-local.
    We need a special C++ version of this test because the middle-end