]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Plug small loophole in previous change
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 10 Dec 2024 16:53:34 +0000 (17:53 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 6 Jan 2025 09:14:47 +0000 (10:14 +0100)
commit145314b3ef9017bb7d841578bb989dd85b3a12ac
tree2a93bf5724988389e1db5c1f02dd62ea3f4aca69
parentd47596b4bb71179edbd1811aa0ddffda903c08c3
ada: Plug small loophole in previous change

The initial change only deals with the controlled record case for assignment
statements, but the controlled array case needs the same treatment.

gcc/ada/ChangeLog:

* exp_ch5.adb (Expand_Assign_Array): Bail out for controlled
components if the RHS is a function call and the assignment has
the No_Ctrl_Actions flag set.
gcc/ada/exp_ch5.adb