[Bug fortran/51208] [OOP] ALLOCATE with SOURCE= or MOLD=: Diagnose if variable occurs twice

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 18 19:07:00 GMT 2011


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

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-18 19:02:25 UTC ---
(In reply to comment #3)
> Although I think this is equivalent to putting a bandaid
> on a AK-47 bullet hole, here you go

Thanks for the patch. Only one remark: For
  allocate (x(2)%a, source=x(1)%a)
one gets a false positive.



More information about the Gcc-bugs mailing list