commit | d056ac5fce4cf6de698b4e1e4fe266e5ebbd0530 | [log] [tgz] |
---|---|---|
author | Javier Miranda <miranda@adacore.com> | Thu Feb 06 09:40:57 2025 +0000 |
committer | Eric Botcazou <ebotcazou@adacore.com> | Thu Jun 05 15:39:51 2025 +0200 |
tree | 7b60f21e10bc734061b4e47c8bb8ab70caf3dab1 | |
parent | 48a5910dde566180a0a0878651a78ccece89be45 [diff] |
ada: Spurious compilation error with repeated loop index When multiple for-loop statements in the same scope use the same index name to iterate through container elements, the compiler reports a spurious error indicating a conflict between index names. gcc/ada/ChangeLog: * exp_ch7.adb (Process_Object_Declaration): Avoid generating duplicate names for master nodes.