[Bug fortran/37723] wrong result for left-right hand side array overlap and (possibly) negative strides
--- Comment #10 from pault at gcc dot gnu dot org 2008-10-19 14:34 --- Fixed as obvious on trunk and 4.3 Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37723
[Bug fortran/37723] wrong result for left-right hand side array overlap and (possibly) negative strides
--- Comment #9 from pault at gcc dot gnu dot org 2008-10-19 12:58 --- Subject: Bug 37723 Author: pault Date: Sun Oct 19 12:56:41 2008 New Revision: 141222 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141222 Log: 2008-10-19 Paul Thomas <[EMAIL PROTECTED]> PR fortran/37723 * dependency.c (gfc_dep_resolver ): If we find equal array element references, go on to the next reference. 2008-10-19 Paul Thomas <[EMAIL PROTECTED]> PR fortran/37723 * gfortran.dg/dependency_22.f90: New test. Added: branches/gcc-4_3-branch/gcc/testsuite/gfortran.dg/dependency_22.f90 Modified: branches/gcc-4_3-branch/gcc/fortran/ChangeLog branches/gcc-4_3-branch/gcc/fortran/dependency.c branches/gcc-4_3-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37723
[Bug fortran/37723] wrong result for left-right hand side array overlap and (possibly) negative strides
--- Comment #8 from pault at gcc dot gnu dot org 2008-10-19 12:52 --- Subject: Bug 37723 Author: pault Date: Sun Oct 19 12:51:06 2008 New Revision: 141221 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141221 Log: 2008-10-19 Paul Thomas <[EMAIL PROTECTED]> PR fortran/37723 * dependency.c (gfc_dep_resolver ): If we find equal array element references, go on to the next reference. 2008-10-19 Paul Thomas <[EMAIL PROTECTED]> PR fortran/37723 * gfortran.dg/dependency_22.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/dependency_22.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/dependency.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37723
[Bug fortran/37723] wrong result for left-right hand side array overlap and (possibly) negative strides
--- Comment #7 from dominiq at lps dot ens dot fr 2008-10-15 14:33 --- The patch on comment #6 works as advertised without regression (i686-apple-darwin9). Thanks for the patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37723
[Bug fortran/37723] wrong result for left-right hand side array overlap and (possibly) negative strides
--- Comment #6 from pault at gcc dot gnu dot org 2008-10-15 09:20 --- Created an attachment (id=16504) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16504&action=view) A fix for the PR The attachment is neither boostrapped nor regtested but does fix the PR. I am not able to do anything with it until Sunday, at least. If anybody wishes to take it up, please do so. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37723
[Bug fortran/37723] wrong result for left-right hand side array overlap and (possibly) negative strides
--- Comment #5 from pault at gcc dot gnu dot org 2008-10-13 19:57 --- (In reply to comment #4) > Paul, I'd like to draw your attention to this one. If you have any cycles to > spare right now... Hi Thomas, I suspect that it has a lot to do with PR37787, which I just fixed. I´m on to it! Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2008-10-05 17:28:19 |2008-10-13 19:57:57 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37723
[Bug fortran/37723] wrong result for left-right hand side array overlap and (possibly) negative strides
--- Comment #4 from tkoenig at gcc dot gnu dot org 2008-10-12 11:30 --- Paul, I'd like to draw your attention to this one. If you have any cycles to spare right now... -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added CC||pault at gcc dot gnu dot ||org, tkoenig at gcc dot gnu ||dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37723
[Bug fortran/37723] wrong result for left-right hand side array overlap and (possibly) negative strides
--- Comment #3 from dominiq at lps dot ens dot fr 2008-10-06 08:34 --- Reduced test case: program try_cg0071 type seq integer ia(10) end type TYPE(SEQ) UDA1R type(seq) uda(1) do j1 = 1,10 uda1r%ia(j1) = j1 enddo uda = uda1r UDA(1)%IA(1:9) = UDA(1)%IA(9:1:-1)+1 DO J1 = 1,9 if (UDA1R%IA(10-J1)+1 /= Uda(1)%IA(J1)) call abort() ENDDO end The test does not fail if UDA is not an array. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37723
[Bug fortran/37723] wrong result for left-right hand side array overlap and (possibly) negative strides
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-10-05 17:28 --- Confirmed on 4.3 and 4.1.2 so not a regression. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |major Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2008-10-05 17:28:19 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37723
[Bug fortran/37723] wrong result for left-right hand side array overlap and (possibly) negative strides
--- Comment #1 from dominiq at lps dot ens dot fr 2008-10-05 13:03 --- Confirmed on (powerpc|i686)-apple-darwin9. Since gfortran produces a wrong code, I think the "severity" should be increased to "major" or even "critical". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37723