public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/36928]  New: array temporary for interleaving assignment
@ 2008-07-25  6:55 tkoenig at gcc dot gnu dot org
  2008-07-25  8:43 ` [Bug fortran/36928] " burnus at gcc dot gnu dot org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2008-07-25  6:55 UTC (permalink / raw)
  To: gcc-bugs

The temporary is not needed in this case.

$ cat foo.f90
program main
  real, dimension(10) :: a
  read (10) a
  a(2:10:2) = a (1:9:2)
end program main
$ gfortran -Warray-temporaries foo.f90
foo.f90:4.14:

  a(2:10:2) = a (1:9:2)
             1
Warning: Creating array temporary at (1)


-- 
           Summary: array temporary for interleaving assignment
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tkoenig at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36928


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-06-01  5:30 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-25  6:55 [Bug fortran/36928] New: array temporary for interleaving assignment tkoenig at gcc dot gnu dot org
2008-07-25  8:43 ` [Bug fortran/36928] " burnus at gcc dot gnu dot org
2008-11-14  8:27 ` jv244 at cam dot ac dot uk
2010-05-09 20:28 ` dfranke at gcc dot gnu dot org
2010-05-15 15:56 ` tkoenig at gcc dot gnu dot org
2010-05-15 17:06 ` dominiq at lps dot ens dot fr
2010-05-15 17:30 ` tkoenig at gcc dot gnu dot org
2010-05-15 18:01 ` dominiq at lps dot ens dot fr
2010-05-15 18:13 ` jvdelisle at gcc dot gnu dot org
2010-05-16  9:00 ` tkoenig at gcc dot gnu dot org
2010-05-16 10:31 ` rguenth at gcc dot gnu dot org
2010-05-22 10:11 ` tkoenig at gcc dot gnu dot org
2010-05-22 10:51 ` dominiq at lps dot ens dot fr
2010-05-22 21:20 ` tkoenig at gcc dot gnu dot org
2010-05-31 20:22 ` 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).