]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix missing associated node for packed array itypes
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 18 Dec 2023 13:31:52 +0000 (14:31 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 6 May 2024 09:11:26 +0000 (11:11 +0200)
commit9bc49f5ac1e1140f00f488f5d05294541079fb1b
treeaf8ef1fd028941df96b77510692a142c7d3eb99e
parentdd548dc587d16ac9d272899739d384e67789e862
ada: Fix missing associated node for packed array itypes

After decoration, itypes should have its associated node set.

gcc/ada/

* exp_pakd.adb (Create_Packed_Array_Impl_Type): Set associated
node for the packed array itype.
* exp_util.adb (Possible_Side_Effect_In_SPARK): Remove
workaround for a missing associated node.
gcc/ada/exp_pakd.adb
gcc/ada/exp_util.adb