[Bug fortran/89646] Spurious actual argument might interfere warning
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89646 --- Comment #3 from Dominique d'Humieres --- The check has been introduced at revision r141931 and is now /* We are told not to check dependencies. We do it, however, and issue a warning in case we find one. If a dependency is found in the case elemental == ELEM_CHECK_VARIABLE, we will generate a temporary, so we don't need to bother the user. */ gfc_warning (0, "INTENT(%s) actual argument at %L might " "interfere with actual argument at %L.", intent == INTENT_OUT ? "OUT" : "INOUT", >where, >where); The warning is unconditional, but it should be easy to replace the 9 with some suitable option.
[Bug fortran/89646] Spurious actual argument might interfere warning
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89646 --- Comment #2 from Ian Harvey --- The spurious warning is issued regardless of whether warnings are requested or not (i.e. it is reported with a command line of just `gfortran -c file.f90`). The warning is issued even if -Wno-aliasing is explicitly provided.
[Bug fortran/89646] Spurious actual argument might interfere warning
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89646 Dominique d'Humieres changed: What|Removed |Added Keywords||diagnostic Priority|P3 |P5 Status|UNCONFIRMED |NEW Last reconfirmed||2019-03-10 Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #1 from Dominique d'Humieres --- Started with GCC5 (no warning with 4.8 or 4.9) up to trunk (9.0). If you ask for warnings, don't complain about false positive nor missed ones!-(