* gcc-interface/decl.c: Rename Descendent -> Descendant
authorVincent Celier <celier@adacore.com>
Mon, 18 Apr 2016 09:28:16 +0000 (09:28 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 18 Apr 2016 09:28:16 +0000 (11:28 +0200)
From-SVN: r235104

gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c

index 9df5e2b8289c8aaf4adc55c1542981f07e16d164..4037a28b19a1ce21db23a6b51467996d5e5936af 100644 (file)
@@ -31,6 +31,7 @@
        sem_ch4.adb, atree.adb, atree.ads, sem_warn.adb, treepr.adb,
        exp_ch3.ads, exp_unst.adb: Change "descendent" to
        "descendant" in comments, error messages and identifiers.
+       * gcc-interface/decl.c: Ditto.
 
 2016-04-18  Eric Botcazou  <ebotcazou@adacore.com>
 
index 87026e742bb56059430f571df03498be87756ca6..c1f409de0118d9bd50ccafedd06b961ff66268b6 100644 (file)
@@ -5857,7 +5857,7 @@ gnat_to_gnu_param (Entity_Id gnat_param, Mechanism_Type mech,
   /* For GCC builtins, pass Address integer types as (void *)  */
   if (Convention (gnat_subprog) == Convention_Intrinsic
       && Present (Interface_Name (gnat_subprog))
-      && Is_Descendent_Of_Address (Etype (gnat_param)))
+      && Is_Descendant_Of_Address (Etype (gnat_param)))
     gnu_param_type = ptr_type_node;
 
   /* Arrays are passed as pointers to element type for foreign conventions.  */
@@ -8603,7 +8603,7 @@ intrin_return_compatible_p (intrin_binding_t * inb)
     return true;
 
   /* If return type is Address (integer type), map it to void *.  */
-  if (Is_Descendent_Of_Address (Etype (inb->gnat_entity)))
+  if (Is_Descendant_Of_Address (Etype (inb->gnat_entity)))
     ada_return_type = ptr_type_node;
 
   /* Check return types compatibility otherwise.  Note that this