This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/45159] Unnecessary temporaries
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 29 Jun 2012 21:44:56 +0000
- Subject: [Bug fortran/45159] Unnecessary temporaries
- Auto-submitted: auto-generated
- References: <bug-45159-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45159
--- Comment #25 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-06-29 21:44:56 UTC ---
> Anything left to be done?
I see
[macbook] f90/bug% gfc -Warray-temporaries pr45159_4_red.f90
pr45159_4_red.f90:7.15:
a(-3:9:3) = a(-6:18:6)
1
Warning: Creating array temporary at (1)
which is an instance of
l_start<r_start+r_stride for r_stride>max(0,l_stride)
(see comment #19) for which there is no dependency.