Currently, for code like
WRITE (*,ADVANCE="NO")
we compare the ADVANCE string in the library. This is wasteful
in the vast majority of cases, where the corresponding strings
are constant.
We should do the string comparison in the front end, where it
can be folded, and pass a bit field to the library.
Something for the ABI cleanup, when it happens in 4.7.
--
Summary: [ABI cleanup] Move runtime parsing of I/O control list
to front end
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: enhancement
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tkoenig at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45715