[Bug fortran/38487] Bogus Warning: INTENT(INOUT) actual argument might interfere with actual argument

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Dec 11 16:08:00 GMT 2008



------- Comment #1 from burnus at gcc dot gnu dot org  2008-12-11 16:07 -------
Mikael added this as part of PR 35681 with check in
http://gcc.gnu.org/viewcvs?view=rev&revision=141931

See:
http://gcc.gnu.org/viewcvs/trunk/gcc/fortran/dependency.c?r1=141931&r2=141930&pathrev=141931

I think the warning is OK in the sense that the pointer could point to the same
memory address which could potentially make trouble, but still the warning
feels too strong. However, I have not studied neither the test case not
dependency.c in details.

Mikael, what do you think?


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikael at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38487



More information about the Gcc-bugs mailing list