public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/36928] array temporary for interleaving assignment with non-constant start values
[not found] <bug-36928-4@http.gcc.gnu.org/bugzilla/>
@ 2013-08-09 8:03 ` tkoenig at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2013-08-09 8:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36928
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #15 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed with
Author: tkoenig
Date: Thu Mar 28 21:30:26 2013
New Revision: 197217
URL: http://gcc.gnu.org/viewcvs?rev=197217&root=gcc&view=rev
Log:
2013-03-28 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/45159
* gfortran.h (gfc_dep_difference): Add prototype.
* dependency.c (discard_nops): New function.
(gfc_dep_difference): New function.
(check_section_vs_section): Use gfc_dep_difference
to calculate the difference of starting indices.
* trans-expr.c (gfc_conv_substring): Use
gfc_dep_difference to calculate the length of
substrings where possible.
2013-03-28 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/45159
* gfortran.dg/string_length_2.f90: New test.
* gfortran.dg/dependency_41.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/dependency_41.f90
trunk/gcc/testsuite/gfortran.dg/string_length_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/dependency.c
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug fortran/36928] array temporary for interleaving assignment with non-constant start values
2008-07-25 6:55 [Bug fortran/36928] New: array temporary for interleaving assignment tkoenig at gcc dot gnu dot org
@ 2010-06-01 5:30 ` tkoenig at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2010-06-01 5:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from tkoenig at gcc dot gnu dot org 2010-06-01 05:30 -------
Fixed for the constant case.
Still to do, but much harder: A case like
a(n,m,2) = a(n+1,m,2).
Unassigning myself for now.
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|tkoenig at gcc dot gnu dot |unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
Summary|array temporary for |array temporary for
|interleaving assignment |interleaving assignment with
| |non-constant start values
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36928
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-09 8:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-36928-4@http.gcc.gnu.org/bugzilla/>
2013-08-09 8:03 ` [Bug fortran/36928] array temporary for interleaving assignment with non-constant start values tkoenig at gcc dot gnu.org
2008-07-25 6:55 [Bug fortran/36928] New: array temporary for interleaving assignment tkoenig at gcc dot gnu dot org
2010-06-01 5:30 ` [Bug fortran/36928] array temporary for interleaving assignment with non-constant start values tkoenig at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).