This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR31217 - ICE using FORALL on character substrings
- From: "Paul Richard Thomas" <paul dot richard dot thomas at gmail dot com>
- To: "Tobias Burnus" <burnus at net-b dot de>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, "gcc-patches List" <gcc-patches at gcc dot gnu dot org>
- Date: 2007年10月18日 18:33:30 +0200
- Subject: Re: [Patch, fortran] PR31217 - ICE using FORALL on character substrings
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=4plSJNtyPwN98zl8nXeNQMmHNXpKoGv7Kf+vWZUaoIo=; b=rkMtDdhvQ5+CFQ5B22cgPUxagmWA+Esne0Nx4Olwn617Gq2MLlz7ASqwXWl721H+gpIlabfSuB6xZKcaVIAIqU1of8PfzyL+Ed/soCFFD9x9Gm50iCfR2N56jT6fOZWuZXW2wlbslPxBMKhOl9s1jNLoVq63c41+s/GCCQiaVTk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iNL5T5hp+TNkAQk5wlw/dxvVEzweJplNfFT0a4VsCqedtMVF1jceopPuS1pqEF/F56EG7044Y1U3bJLASpQba/hPrEEdagxUj92rtOPmi5sSN35LzoVmOzbf/FRrkp7W6i5KmVDVf2PSimxkcacVMbKxoZGYJFOyQp+GoQ/jp4I=
- References: <339c37f20710180744yeaf6309u9060bf46b67a3ffd@mail.gmail.com> <4717864F.2040908@net-b.de>
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