[Ada] Debug info not available on subp having a class-wide precondition
authorGary Dismukes <dismukes@adacore.com>
Tue, 7 Jan 2020 22:28:16 +0000 (17:28 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 3 Jun 2020 10:01:33 +0000 (06:01 -0400)
commit8f8fc3840e9ac62a053fc8ebe0d25955a9ecf290
tree037eff1a26cf0a3f23be4150cc5ce71423d1f95a
parent9ff488f0292841a709840b6d2cb4d18e2f1b491a
[Ada] Debug info not available on subp having a class-wide precondition

2020-06-03  Gary Dismukes  <dismukes@adacore.com>

gcc/ada/

* sem_util.adb (Build_Class_Wide_Clone_Decl): Call
Set_Debug_Info_Needed to set the Needs_Debug_Info flag on
Clone_Id if the flag is set on Spec_Id.
gcc/ada/sem_util.adb