Currently, the buffers for reading/writing integers and reals in the i/o library are of type char[], which forces the use of memcpy(), as in the fix for PR 23356. It would be better for performance if suitable alignment could be forced on the buffers.
-- Summary: unaligned buffers in i/o library force use of memcpy() Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P2 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23770