[Ada] Fix assertion failures with -gnatde and -gnatdv
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 3 Dec 2018 15:49:00 +0000 (15:49 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 3 Dec 2018 15:49:00 +0000 (15:49 +0000)
commitba301a3b6633691e09e7ea58a2c1fe559203ad8a
tree0f52804583e24a21c68148e09ab66175a46f9a31
parent89beb6536755b02c83289fedd6182b79565a08fb
[Ada] Fix assertion failures with -gnatde and -gnatdv

This fixes a couple of assertion failures when using -gnatde and -gnatdv
on a compiler built with assertions enabled.  No functional changes.

2018-12-03  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* einfo.adb (Write_Entity_Info): Don't take Scope of Standard
package.
* sem_ch4.adb (Remove_Abstract_Operations): Add missing blank
lines to -gnatdv output.
* sem_type.adb (Write_Overloads): Take Entity of entity names
only.

From-SVN: r266751
gcc/ada/ChangeLog
gcc/ada/einfo.adb
gcc/ada/sem_ch4.adb
gcc/ada/sem_type.adb