https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120140
--- Comment #13 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #12) > (In reply to Mikael Morin from comment #11) > > Err, it's actually the expected outcome, isn't it? > > Maybe the patch is correct after all. > > At least even the corrected testcase from comment#0 works, as my other tests. > Thanks! This one fails: p%i = q%i p([2,1]) = p([1,2]) ! fails It prints: vector: p(1:2)%i = 1 2 (expect 44 43) It lacks a temporary. (NAG and ifx have it right).
