[Patch, fortran] PR31217 - ICE using FORALL on character substrings

Paul Richard Thomas paul.richard.thomas@gmail.com
Thu Oct 18 16:33:00 GMT 2007


Tobias,


> Valgrind shows (using Rev. 129442 and no other patches applied):
>
> ==14821== Invalid read of size 4
> ==14821==    at 0x459520: find_forall_index (resolve.c:4339)

Ah yes.... I had seen that on my x86_ia64 and I forgot all about it.
I even found a fix for it:)  If you look at the substring part of
find_forall_index, you will find that it is completely screwed up.
>
> PS: Do you also plan to submit
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31608#c28
> It seems to fix all the problem reported in PR31608, which don't have
> PRs of their own; that patch regtested successfully.

I just finished the testcase this morning.  I was intending to submit
over night.  I also have a fix for 33749, which is in a similarly
advanced state.

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