From: David Edelsohn Date: Sun, 8 Nov 2020 01:38:38 +0000 (-0500) Subject: rs6000: Fix bootstrap after r11-4793. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e620386b8a6b4d7dfc4b2db44626a157e0a5854;p=gcc.git 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 --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);