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/55839] Inefficiency with array constructor


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

Mikael Morin <mikael at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikael at gcc dot gnu.org

--- Comment #1 from Mikael Morin <mikael at gcc dot gnu.org> 2013-01-01 19:03:22 UTC ---
This is a known deficiency of the handling of array constructors in gfortran.
There are other bugs about them.

For cases like:
a(:) = [b(:)]

the code generated does twice as much work as needed (initialization of the
array constructor's content and copy from it).


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