diff mbox series

rs6000.c DECL_IS_BUILTIN bootstrap fix

Message ID CAGWvnymRZ-Wyz-VngybmeYUFCus68vHGq=qD6R+Vyy7jada0Jw@mail.gmail.com
State New
Headers show
Series rs6000.c DECL_IS_BUILTIN bootstrap fix | expand

Commit Message

David Edelsohn Nov. 9, 2020, 6:15 p.m. UTC
rs6000: Fix bootstrap after r11-4793.

    The patch omitted a change for rs6000.c, fixed thus.

    gcc/ChangeLog:

            * config/rs6000/rs6000.c
(rs6000_mangle_decl_assembler_name): Change            DECL_IS_BUILTIN
-> DECL_IS_UNDECLARED_BUILTIN.
diff mbox series

Patch

diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 63f1c06c01b..d7dcd93f088 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -27084,7 +27084,8 @@  static tree
 rs6000_mangle_decl_assembler_name (tree decl, tree id)
 {
   if (!TARGET_IEEEQUAD_DEFAULT && TARGET_IEEEQUAD && TARGET_LONG_DOUBLE_128
-      && TREE_CODE (decl) == FUNCTION_DECL && DECL_IS_BUILTIN (decl) )
+      && TREE_CODE (decl) == FUNCTION_DECL
+      && DECL_IS_UNDECLARED_BUILTIN (decl))
     {
       size_t len = IDENTIFIER_LENGTH (id);
       const char *name = IDENTIFIER_POINTER (id);