[Patch, fortran] PR38324 - Wrong lbound given to allocatable components

Paul Richard Thomas paul.richard.thomas@gmail.com
Sun Jan 31 11:58:00 GMT 2010


Dear Dominique,

> FAIL: gfortran.dg/alloc_comp_basics_1.f90  -Os  scan-tree-dump-times original "builtin_free" 26
>
> Since I don't see why the patch should change the memory allocation/deallocation

Neither did I; in fact, I was rather startled by it.  I'll check my
tree for some other change.

> the patch for gfortran.dg/alloc_comp_basics_1.f90: Count of builtin is 26
> seems a leftover from something else. (Also I don't see why this test as a
> dg-options "-O2).

Looking in my notes, this was an attempt to prevent the test from
being run multiple times.  I don't know why it was retained because I
did note that it did not work.  However, in the final stages of the
allocatable component work, Erik and I exchanged patches many times -
it probably crept back in at that stage.

I'll track down the source of the extra frees...

Thanks for giving the patch a whirl.

Cheers

Paul





-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy



More information about the Fortran mailing list