[Ada] Missing predicate function body for derived type in nested package
[gcc.git] / gcc / ada / ChangeLog
index 175d15d7069959d0cd700a01a7946bcb484c07ea..2393bfaa0c601d714b9cf4ef12b5d0924eccb390 100644 (file)
@@ -1,3 +1,9 @@
+2018-06-11  Ed Schonberg  <schonberg@adacore.com>
+
+       * sem_ch13.adb (Build_Predicate_Functions): For a derived type, ensure
+       that its parent is already frozen so that its predicate function, if
+       any, has already been constructed.
+
 2018-06-11  Yannick Moy  <moy@adacore.com>
 
        * sem_prag.adb (Check_Mode_Restriction_In_Enclosing_Context): Adapt for