This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/44442] Useless temporary with RESHAPE



------- Comment #2 from mikael at gcc dot gnu dot org  2010-06-07 15:59 -------
(In reply to comment #1)
> Useless temporaries are also emitted for PAD and ORDER optional arguments:
> 

This is a known limitation of array constructors handling by gfortran.
For passing to the library function, a temporary will be created anyway.
The array constructor will fill an intermediary temporary on top of the
previous one.


-- 

mikael at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-06-07 15:59:13
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44442


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]