https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67170
Bug ID: 67170 Summary: PRE can't hoist out a readonly argument Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: mliska at suse dot cz Target Milestone: --- In attached Fortran source file, we are unable to hoist out the single function argument. The argument is reloaded at the end of loop. Thanks, Martin