]> gcc.gnu.org Git - gcc.git/commit
ada: Fix missing warning on aggregate with iterated component
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 30 Jan 2023 12:05:09 +0000 (13:05 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 16 May 2023 08:30:59 +0000 (10:30 +0200)
commite07e6ea6924e594b337ebf9cb175bc6b8e213923
treecf6519bde1c802b9b9bf9032aa33df0b01f2cac0
parent5fa02009e49c5f6d8a187db4cb87405b3ef43b88
ada: Fix missing warning on aggregate with iterated component

This happens when the iterated component does not really iterate.

gcc/ada/

* exp_aggr.adb (Expand_Array_Aggregate): Do not set Warnings_Off on
the temporary created when in-place expansion is not possible.
gcc/ada/exp_aggr.adb
This page took 0.056736 seconds and 5 git commands to generate.