[Bug fortran/36935] unneeded temporary for array constructor

2009-01-03 Thread dfranke at gcc dot gnu dot org


--- 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

2008-08-16 Thread pinskia at gcc dot gnu dot org


-- 

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

2008-07-26 Thread tkoenig at gcc dot gnu dot org


--- 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

2008-07-25 Thread jv244 at cam dot ac dot uk


--- 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

2008-07-25 Thread dfranke at gcc dot gnu dot org


--- 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