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/45159] Unnecessary temporaries


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

--- Comment #27 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2013-02-01 18:16:30 UTC ---
To allow expressions like

  a(n:2*n:2) = a(n+1:2*n+1:2)

to be optimized, I will try to write a function which calculates the difference
between two gfc_expr() for easy cases.  This could also help in other cases,
such as determining string lenghts for expressions like c(n:n+2).


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