This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/64958] Warn if INTENT(IN) is changed by passing to no-intent argument


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64958

--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
If this mechanism is in place, it could also be used to catch code like

call foo(a+1)

...


subroutine foo(a)
   a = a + 1
end subroutine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]