Ada : Fix bootstrap after r11-4793.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 7 Nov 2020 08:43:37 +0000 (08:43 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 7 Nov 2020 08:43:37 +0000 (08:43 +0000)
The patch omitted a change for Ada, fixed thus.

gcc/ada/ChangeLog:

* gcc-interface/misc.c (gnat_printable_name): Change
DECL_IS_BUILTIN -> DECL_IS_UNDECLARED_BUILTIN.

gcc/ada/gcc-interface/misc.c

index 781868e2ad3532474d7c3c0d85abf136890aed12..87724af814e1926913b37801d3a3637f5ba78d11 100644 (file)
@@ -559,7 +559,7 @@ gnat_printable_name (tree decl, int verbosity)
 
   __gnat_decode (coded_name, ada_name, 0);
 
-  if (verbosity == 2 && !DECL_IS_BUILTIN (decl))
+  if (verbosity == 2 && !DECL_IS_UNDECLARED_BUILTIN (decl))
     {
       Set_Identifier_Casing (ada_name, DECL_SOURCE_FILE (decl));
       return ggc_strdup (Name_Buffer);