http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33341
Thomas Koenig changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|
--- Comment #6 from dominiq at lps dot ens dot fr 2010-06-09 20:57 ---
*** Bug 2 has been marked as a duplicate of this bug. ***
--
dominiq at lps dot ens dot fr changed:
What|Removed |Added
-
--- Comment #5 from dfranke at gcc dot gnu dot org 2010-05-09 18:31 ---
This improved at some point. We still create the temporary array, but the
optimizer got smarter:
$> gfortran-svn -O3 -fdump-tree-optimized -Warray-temporaries -c pr33341.f90
pr33341.f90:5.8:
foo = all((/ a, b, c
--- Comment #4 from dfranke at gcc dot gnu dot org 2009-01-04 00:20 ---
*** Bug 36935 has been marked as a duplicate of this bug. ***
--
dfranke at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #3 from dfranke at gcc dot gnu dot org 2009-01-03 21:39 ---
Not specific to the ALL intrinsic.
$> cat ctor.f90
INTEGER :: i, n, a(5)
n = 5
a = (/ (i, i = 1, n) /)
END
$> gfortran-svn -Warray-temporaries ctor.f90
ctor.f90:3.9:
a = (/ (i, i = 1, n) /)
1
Warn