rs6000: Fix bootstrap after r11-4793.
authorDavid Edelsohn <dje.gcc@gmail.com>
Sun, 8 Nov 2020 01:38:38 +0000 (20:38 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sun, 8 Nov 2020 01:43:26 +0000 (20:43 -0500)
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.

gcc/config/rs6000/rs6000.c

index 63f1c06c01b09008cb8ecc22bddce2ef54c27642..d7dcd93f0889f19e7242d2f129443ce98f69b1f5 100644 (file)
@@ -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);