]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Unnesting: don't use Get_Actual_Subtype for record subtypes
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jul 2018 08:08:04 +0000 (08:08 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jul 2018 08:08:04 +0000 (08:08 +0000)
commit1141926006c4e4f5ebf175a2b92169d00103d83e
treedccee2400a284dfe28a672be2850faa5a23c65f6
parenta074380f056fbec3a1b85247f21ff75d60f49223
[Ada] Unnesting: don't use Get_Actual_Subtype for record subtypes

2018-07-17  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* exp_unst.adb (Unnest_Subprograms): Do nothing if the expander is not
active.  Don't use Get_Actual_Subtype for record subtypes.  Ignore
rewritten identifiers and uplevel references to bounds of types that
come from the original type reference.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262787 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/exp_unst.adb