[Ada] Fix expansion of attributes Input/Output for unchecked union types
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 14 Jan 2021 16:28:31 +0000 (17:28 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 5 May 2021 08:19:06 +0000 (04:19 -0400)
commitd24ef4e60998f7f9f4fde52896af3afa42ec246c
tree4a6f41510fa3ba6fe380e83351f436616185aa76
parent8adc8d9b7c61f4ed9e349ebe9c091ce45e6978e4
[Ada] Fix expansion of attributes Input/Output for unchecked union types

gcc/ada/

* exp_attr.adb (Expand_N_Attribute_Reference): Fix expansion of
attributes Input and Output for unchecked unions.
* sem_case.ads: Fix typo "disriminant" and refill comment.
gcc/ada/exp_attr.adb
gcc/ada/sem_case.ads