]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Adjust previous change to Rewrite_As_Renaming
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 29 May 2022 11:35:57 +0000 (13:35 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 4 Jul 2022 07:45:58 +0000 (07:45 +0000)
commit0896e2b79a3f7864b08f221a157a5c7fe8958116
treea20d80503b0edc63049624db0816801316bbe170
parent2cad8a59a8060b0897d18d4075d96eb7c541e845
[Ada] Adjust previous change to Rewrite_As_Renaming

gcc/ada/

* exp_ch3.adb (Expand_N_Object_Declaration.Rewrite_As_Renaming):
Do not rewrite if the declaration has got constraints.
* sinfo.ads (Case Expression Alternative): Fix typo.
gcc/ada/exp_ch3.adb
gcc/ada/sinfo.ads