[Ada] Cleanup related to volatile objects in restricted contexts
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 1 Mar 2021 15:36:08 +0000 (16:36 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 16 Jun 2021 08:43:02 +0000 (04:43 -0400)
commitf7f37ed649417925dee12e099dbb3227a3be30c2
treea6bcc48cd11e74d029a67749bde29e4bb951b6ab
parent788fed4b39a228f5a3ebc4cd3d825ab8ebdfdfba
[Ada] Cleanup related to volatile objects in restricted contexts

gcc/ada/

* sem_res.adb (Is_Assignment_Or_Object_Expression): Whitespace
cleanup.
(Is_Attribute_Expression): Prevent AST climbing from going to
the root of the compilation unit.
gcc/ada/sem_res.adb