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