| commit | 4ea7021613c47201f87b40116249d85bd5169ce9 | [log] [tgz] |
|---|---|---|
| author | Eric Botcazou <ebotcazou@adacore.com> | Tue May 27 13:32:18 2025 +0200 |
| committer | Eric Botcazou <ebotcazou@adacore.com> | Thu Jul 03 11:37:10 2025 +0200 |
| tree | 5a16b2a4548e6812b83df92963388fd9b05f3535 | |
| parent | 2498cbbcdb23dabce36477ce84e0266374b7e886 [diff] |
ada: Fix wrong conversion of controlled array with representation change The problem is that a temporary is created for the conversion because of the representation change, and it is finalized without having been initialized. gcc/ada/ChangeLog: * exp_ch4.adb (Handle_Changed_Representation): Alphabetize local variables. Set the No_Finalize_Actions flag on the assignment.