[Bug fortran/36935] unneeded temporary for array constructor
--- Comment #4 from dfranke at gcc dot gnu dot org 2009-01-04 00:20 --- *** This bug has been marked as a duplicate of 33341 *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36935
[Bug fortran/36935] unneeded temporary for array constructor
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36935
[Bug fortran/36935] unneeded temporary
--- Comment #3 from tkoenig at gcc dot gnu dot org 2008-07-26 20:28 --- Confirmed. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added CC||tkoenig at gcc dot gnu dot ||org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2008-07-26 20:28:54 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36935
[Bug fortran/36935] unneeded temporary
--- 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
[Bug fortran/36935] unneeded temporary
--- Comment #1 from dfranke at gcc dot gnu dot org 2008-07-25 14:18 --- 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. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added CC||dfranke at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36935