No need for a temp here: SUBROUTINE S1(a,i,j,k,m) INTEGER :: a(3,6) a(1:3,m)=(/i,j,k/) END
I guess this one is similar enough to put here as well: SUBROUTINE S1(a,i,j,k,m) INTEGER :: a(3,6) write(6,*) ALL(a(1:3,m).EQ.(/i,j,k/)) END
Another tough one, I think. Thanks Paul
duplicate of pr36935?
(In reply to comment #3) > duplicate of pr36935? similar enough to make this one depend on PR36935. I think the testcases here (certainly comment #1), are more difficult.
PR33341 belongs here as well.
4.7 still generates the temporaries. Looks like the middle end deals with this rather well for the #c0 testcase, but not #c1.
The temporary in Comment#2 is now also removed by the middle-end. The front end still warns about this, but I think that this is something that we can live with. Closing as FIXED.