From 8e620386b8a6b4d7dfc4b2db44626a157e0a5854 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sat, 7 Nov 2020 20:38:38 -0500 Subject: [PATCH] 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. --- gcc/config/rs6000/rs6000.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.30.2