[Bug fortran/43829] Scalarization of reductions
mikael at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 4 23:15:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43829
--- Comment #34 from Mikael Morin <mikael at gcc dot gnu.org> 2011-03-04 23:14:59 UTC ---
(In reply to comment #33)
> My only remark is about the test in comment #31 for which
> the dg-warning in
> [...]
> should be moved to the line above:
>
> and the block
> [...]
> that generates
> [...]
Thank you Dominique, I missed some of the temporaries as they were uncaught by
the testsuite. A problem with continued lines it seems.
>
> Also "reshape((/ (i*i,i=1,size(a)) /), shape(a)), &" generates a warning:
>
> pr43829_7.f90:82.8:
>
> reshape((/ (i*i,i=1,size(a)) /), shape(a)), &
> 1
> Warning: Creating array temporary at (1)
I have to double check, but this one should be expanded at compile time.
More information about the Gcc-bugs
mailing list