]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Ada2020: AI12-0368 Declare expressions can be static
authorBob Duff <duff@adacore.com>
Thu, 28 May 2020 20:16:06 +0000 (16:16 -0400)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:17:14 +0000 (13:17 -0300)
commit4faac46cd9124a61b396efa25470182e4182e1af
treed14f720ee1511db2dc9f379102072c1698cd98b9
parent2c4b1e59192981d476fb8a345a7438890deab788
[Ada] Ada2020: AI12-0368 Declare expressions can be static

gcc/ada/

* sem_res.adb (Resolve_Expression_With_Actions): Check the rules
of AI12-0368, and mark the declare expression as static or known
at compile time as appropriate.
* sem_ch4.adb: Minor reformatting.
* libgnat/a-stoufo.ads, libgnat/a-stoufo.adb: Allow up to 9
replacement parameters. I'm planning to use this in the test
case for this ticket.
gcc/ada/libgnat/a-stoufo.adb
gcc/ada/libgnat/a-stoufo.ads
gcc/ada/sem_ch4.adb
gcc/ada/sem_res.adb