[Ada] Subtype inherits Atomic flag from base type
authorEd Schonberg <schonberg@adacore.com>
Wed, 5 Feb 2020 16:38:38 +0000 (11:38 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 5 Jun 2020 12:17:53 +0000 (08:17 -0400)
commitfaf250080011f5e92a6ba5ee5af22b12654992ba
treeaf14d3597f109baafdeb3fcc89b88d7ccf89e9f4
parentbf44027a464e71142999f1ba454469fc80453fd9
[Ada] Subtype inherits Atomic flag from base type

2020-06-05  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* sem_ch3.adb (Analyze_Subtype_Declaration): For scalar types,
and for subtype declarations without a constraint, subtype
inherits Atomic flag from base type.
gcc/ada/sem_ch3.adb