https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122290
kargls at comcast dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu.org
--- Comment #6 from kargls at comcast dot net ---
(In reply to anlauf from comment #5)
>
> There are seemingly similar issues with kind in some constant expressions
> involving implied-do, e.g. pr91963 and pr97408.
Completely forgot about pr91963. After review, it seems
I've been down the rabbit with an implied-do loop in an
array constructor within an initialization expression.
We may be able to deal with the AC issue somewhere in
array.cc(walk_array_constructor), but it's been a while
since I've looked at that code.
Here, it looks like we need to delay the evaluation of
an initialization expression within a PDT until the
DT is actually used in a type declaration statement.