diff options
author | Ed Schonberg <schonberg@adacore.com> | 2019-12-13 09:04:06 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-12-13 09:04:06 +0000 |
commit | 7f8ad8f001a4054e07b7d0762a14a6784bec136c (patch) | |
tree | 3f4c5b4ac48acb6b99ac7042351e300056d58f97 /gcc/ada/fname.ads | |
parent | 0a8ff576dbd2806fef992e52e1148a84dabebe5d (diff) | |
download | gcc-7f8ad8f001a4054e07b7d0762a14a6784bec136c.zip gcc-7f8ad8f001a4054e07b7d0762a14a6784bec136c.tar.gz gcc-7f8ad8f001a4054e07b7d0762a14a6784bec136c.tar.bz2 |
[Ada] Crash on inherited private operation in child package
2019-12-13 Ed Schonberg <schonberg@adacore.com>
gcc/ada/
* sem_ch7.adb (Analyze_Package_Body_Helper): Do not call
Declare_Inherited_Private_Subprograms on s child body: the
required operations have already been created when analyzing the
corresponding package declaration. This prevents a redeclaration
of inehrited operation, and a crash when inserting the new
operation in the current scope.
From-SVN: r279349
Diffstat (limited to 'gcc/ada/fname.ads')
0 files changed, 0 insertions, 0 deletions