commit | c9c6392fcbc96d2df388fc72ae15d564da2e74ad | [log] [tgz] |
---|---|---|
author | Ronan Desplanques <desplanques@adacore.com> | Mon Jun 02 12:09:59 2025 +0200 |
committer | Eric Botcazou <ebotcazou@adacore.com> | Thu Jul 03 11:40:30 2025 +0200 |
tree | 714b8a80429b7579aaa83c83ad36f934f42b67fd | |
parent | 4ea7021613c47201f87b40116249d85bd5169ce9 [diff] |
ada: Fix assertion failure on finalizable aggregate The Finalizable aspect makes it possible that Insert_Actions_In_Scope_Around is entered with an empty list of after actions. This patch fixes a condition that was not quite right in this case. gcc/ada/ChangeLog: * exp_ch7.adb (Insert_Actions_In_Scope_Around): Fix condition.