]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix problematic aggregate with box notation
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 20 Nov 2025 20:54:03 +0000 (21:54 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 5 Dec 2025 12:22:53 +0000 (13:22 +0100)
commitb6bfc77fe56ac999d515fe3899afbab0eb0ee480
treea769728232f70788604edfcaac52b33a7f19736c
parentfb0daefc42baa50112d260f6a52ee97994c3893e
ada: Fix problematic aggregate with box notation

It runs afoul of the pragma Initialize_Scalars + -gnatVa combination.

gcc/ada/ChangeLog:

* sem_ch12.adb (Remove_Parent): Only set the Is_Transient component
of the local scope stack entry.
gcc/ada/sem_ch12.adb