https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116171
Bug ID: 116171 Summary: [OpenACC] 'acc declare' - 'readonly' modifier not stored in the module file Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization, openacc Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: cltang at gcc dot gnu.org, tschwinge at gcc dot gnu.org Target Milestone: --- The following commit added the 'readonly' modifier, r14-9462-gddf852dac2abac OpenACC 2.7: front-end support for readonly modifier but as Thomas noted: https://gcc.gnu.org/pipermail/gcc-patches/2024-March/647766.html > But I realized another thing: don't we have to handle the 'readonly' > modifier also in Fortran module files, that is, next to the OpenACC > 'declare' 'copyin' handling in 'gcc/fortran/module.cc': > 'AB_OACC_DECLARE_COPYIN' etc.?