]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Allow use of writable parameters inside function with side-effects
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 4 Jan 2024 16:37:06 +0000 (17:37 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 6 May 2024 09:11:32 +0000 (11:11 +0200)
commitec1cdad89afed4d5fc8617c3de3c1950ca55ba7e
treec795a9d90e300427ca20efc77b1dc15e801e7f1b
parentd917954922f38652eb314f096e130ecaa53e8441
ada: Allow use of writable parameters inside function with side-effects

Writable parameters can be used as global outputs inside functions with
side-effects.

gcc/ada/

* sem_prag.adb (Collect_Global_Item): Handle functions with
side-effects.
gcc/ada/sem_prag.adb