http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46896
--- Comment #11 from Mikael Morin <mikael at gcc dot gnu.org> 2010-12-13 21:24:35 UTC --- (In reply to comment #9) > Created attachment 22739 [details] > A tentative fix for the PR Yeah, trying to share the code with gfc_trans_arrayfunc_assign was plain pain. Copy'n'paste will work better here. :-( > > The attached fixes the PR and is regtesting right now. I do not believe that > there will be any ere regressions since the patch adds temporaries where there > were none before. ... unless the testcases check for the absence of temporary ;-) I won't dig into it further, sorry.