https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99709
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|VALUE attribute for an |[PDT] VALUE attribute for |object with nonconstant |an object with nonconstant |length parameter |length parameter Ever confirmed|0 |1 Priority|P3 |P4 Last reconfirmed| |2021-03-22 Keywords| |wrong-code --- Comment #1 from anlauf at gcc dot gnu.org --- Confirmed. Seems to require PDTs. Funnily Intel has exactly the same issue. NAG gets it right.