This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/44442] Useless temporary with RESHAPE
- From: "mikael at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2010 15:59:13 -0000
- Subject: [Bug fortran/44442] Useless temporary with RESHAPE
- References: <bug-44442-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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