https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84523
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> ---
Quite why this testcase worked before revision r257065 I cannot for the life of
me understand.
The line trans-array.c:3664
decl = gfc_evaluate_now (se->expr, &se->pre);
was never being added to the function pre block and so the pointer span was in
principle not available.
Anyway, this rather trivial patch fixes the problem.
Thanks for the report.
Paul