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: unassig...@gcc.gnu.org ReportedBy: tkoe...@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.