]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix another minor fallout of previous changes to aggregate expansion
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 8 Nov 2024 10:01:11 +0000 (11:01 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 18 Nov 2024 14:06:55 +0000 (15:06 +0100)
commitb4fd15d8bea6224a431e062d846459cc57724e41
tree6583e930aab0593a9a09828ace27a35900899da7
parent1b24e30cabbe2d796dc12afbcccfe849b0b9eb92
ada: Fix another minor fallout of previous changes to aggregate expansion

This is another glitch associated with Initialization_Statements.

gcc/ada/ChangeLog:

* exp_util.adb (Remove_Init_Call): Rewrite a compound statement in
the Initialization_Statements of the variable as a null statement
instead of removing it.
* freeze.adb (Explode_Initialization_Compound_Statement): Small
comment tweaks.
gcc/ada/exp_util.adb
gcc/ada/freeze.adb