]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Remove excessive guard in detection of access-to-variable objects
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 30 Aug 2021 10:03:52 +0000 (12:03 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 12 Jul 2022 12:24:10 +0000 (12:24 +0000)
commit474946c61a5dd5335ced09d52a95d1e3d90d1455
tree6f0c670c5926199d75d2f5737c96070f6a809913
parente80daf04c8888f527d2fc7f6cbcd1b4c853dcd04
[Ada] Remove excessive guard in detection of access-to-variable objects

It is safe to call Is_Access_Variable without calling
Is_Access_Object_Type before. Compiler cleanup only; semantics is
unaffected.

gcc/ada/

* sem_util.adb (Is_Variable): Remove excessive guard.
gcc/ada/sem_util.adb