]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Reuse existing expression when rewriting aspects to pragmas
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 14 Feb 2024 17:24:03 +0000 (18:24 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 16 May 2024 08:49:26 +0000 (10:49 +0200)
commit06078187797f077f0548c55ac8cb8eca4094f1c3
tree174564d4f0e3b7ac49fc674426a54b65079c04e8
parent492f896e3a224a09c5f693249dc302dda435fae7
ada: Reuse existing expression when rewriting aspects to pragmas

Code cleanup; semantics is unaffected.

gcc/ada/

* sem_ch13.adb (Analyze_Aspect_Specification): Consistently
reuse existing constant where possible.
gcc/ada/sem_ch13.adb