------- Comment #8 from dominiq at lps dot ens dot fr 2010-09-22 21:39 -------
The patch in comment #6 fixes this PR, but gfortran.dg/dependency_35.f90 fails:
...
output is:
/opt/gcc/work/gcc/testsuite/gfortran.dg/dependency_35.f90:19.6:
a = matmul(b,c) + d
1
Warning: Creating array temporary at (1)
/opt/gcc/work/gcc/testsuite/gfortran.dg/dependency_35.f90:22.6:
e = sum(b,1) + 3
1
Warning: Creating array temporary at (1)
FAIL: gfortran.dg/dependency_35.f90 -O (test for excess errors)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45744