From b4914af84f8cb337064fb3e0b8f6b63fbff580e3 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Tue, 22 May 2018 13:23:56 +0000 Subject: [PATCH] [Ada] Take into account N_Generic_Package_Renaming_Declaration 2018-05-22 Arnaud Charlet gcc/ada/ * comperr.adb (Delete_SCIL_Files): Take into account N_Generic_Package_Renaming_Declaration. From-SVN: r260522 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/comperr.adb | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index c0b19899f6d..659124a69e5 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2018-05-22 Arnaud Charlet + + * comperr.adb (Delete_SCIL_Files): Take into account + N_Generic_Package_Renaming_Declaration. + 2018-05-22 Ed Schonberg * sem_ch3.adb (Search_Derivation_Levels): Whenever a parent type is diff --git a/gcc/ada/comperr.adb b/gcc/ada/comperr.adb index c8125501541..e034dcb7124 100644 --- a/gcc/ada/comperr.adb +++ b/gcc/ada/comperr.adb @@ -484,7 +484,9 @@ package body Comperr is -- No SCIL file generated for generic package declarations - when N_Generic_Package_Declaration => + when N_Generic_Package_Declaration + | N_Generic_Package_Renaming_Declaration + => return; -- Should never happen, but can be ignored in production -- 2.30.2