[Patch, Fortran, committed] PR51972 - Extended checking of gfortran.dg/class_48.f90

Paul Richard Thomas paul.richard.thomas@gmail.com
Sun Feb 5 10:29:00 GMT 2012


Dear Tobias,

> The committed (Rev. ) and attached patch adds the missing checks. On the
> way, I run into another issue (now: PR 52102), which I worked around.

I am working on PR52102

> However, as MALLOC_PERTURB_ or valgrind shows, the issue also affects the
> current version. Thus, in the committed patch, only test3() has proper
> checking, for test4() I have added a commented out test case, which without
> MALLOC_PERTURB_ should work.

For some reason, the allocate expression is not being scalarized and
so the 'dest' argument of the elemental _copy is not an array
reference.

Cheers

Paul



More information about the Fortran mailing list