https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66562
--- Comment #3 from Dan Kokron <Daniel.Kokron at nasa dot gov> --- @karlg The original code accessed the array with in a loop using i:, so the proposed workaround doesn't help my case. PS: Thanks for the advise. Newbie mistake.