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

--- Comment #23 from Richard Biener <rguenth at gcc dot gnu.org> ---
The new testcase FAILs on the gcc-12 branch (it works on the 13 branch) on
x86_64-linux:

FAIL: gfortran.dg/pr117763.f90   -O   scan-tree-dump-times original
"__result->span = [12].." 1

the only __result->span assignment is in model_data_get_field_array_ptr
and that has

  __result->span = model->_data->field.span;

there's some assignments to a span that might match:

    model->_data->field.span = 272;

        ptrtemp.124.span = 272;

I suppose the testcase is a bit fragile?  For a wrong-code testcase I'd
have expected dg-do run rather than relying on a dump scan.

Reply via email to