https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110290

--- Comment #1 from anlauf at gcc dot gnu.org ---
(In reply to anlauf from comment #0)
> It appears that there never was such a restriction in the standard.

There actually was a restriction in F2003, mentioned by Tobias in pr49802#c1:

C528 (R501)   If the VALUE attribute is specified, the length type
              parameter values shall be omitted or specified by
              initialization expressions.

There is also a proof-of-principle patch attached, might be worth to look
into again.

Reply via email to