]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Get name from entity if that's what's passed to Subprogram_Name
authorRichard Kenner <kenner@adacore.com>
Sun, 22 Jan 2023 17:38:41 +0000 (12:38 -0500)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 16 May 2023 08:30:57 +0000 (10:30 +0200)
commit66152ecdaebfce758cb5bd00702449dd2c584e68
treeccfeed3929c4179b094e53524bfebd2bfa35c804
parent5c6e261645296b9175c5bbd6d5bf6341cc80bdd0
ada: Get name from entity if that's what's passed to Subprogram_Name

gcc/ada/

* sem_util.adb (Subprogram_Name): If what's passed is already an
entity, use that for the name.
gcc/ada/sem_util.adb