------- Comment #2 from jv244 at cam dot ac dot uk 2008-07-25 14:26 ------- (In reply to comment #1) > Reads similar to http://gcc.gnu.org/ml/fortran/2008-07/msg00163.html > > PaulT wrote: > > pt = point((/ x, y, z /)) > > 1 > > Warning: Creating array temporary at (1) > > This will always occur where an array actual argument is not a > contiguous section of a variable. >
It is similar, but I believe Paul might have misread your example. His comment would but right if point were a function call, but it is not. I believe a temp shouldn't be created in your example. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36935