public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/47065] New: Replace trim(a) by a(1:len_trim(a))
@ 2010-12-26 15:05 tkoenig at gcc dot gnu.org
  2010-12-26 21:32 ` [Bug fortran/47065] " tkoenig at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2010-12-26 15:05 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Replace trim(a) by a(1:len_trim(a))
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: tkoenig@gcc.gnu.org


In many cases, it is possible to replace trim(a) by a(1:len_trim(a)).

This is a win because it saves trim from creating a temporary.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-03-17 15:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-26 15:05 [Bug fortran/47065] New: Replace trim(a) by a(1:len_trim(a)) tkoenig at gcc dot gnu.org
2010-12-26 21:32 ` [Bug fortran/47065] " tkoenig at gcc dot gnu.org
2010-12-26 21:34 ` tkoenig at gcc dot gnu.org
2010-12-31 11:32 ` tkoenig at gcc dot gnu.org
2010-12-31 11:38 ` tkoenig at gcc dot gnu.org
2011-01-18 21:08 ` burnus at gcc dot gnu.org
2011-01-18 23:39 ` tkoenig at gcc dot gnu.org
2011-03-27 19:13 ` tkoenig at gcc dot gnu.org
2011-11-09 10:23 ` fxcoudert at gcc dot gnu.org
2013-03-17 15:26 ` tkoenig at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).